diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-12-27 21:55:19 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-12-27 21:55:19 +0000 |
commit | b4bb09f763ae8bfe3def4be5e496c46d9ce79787 (patch) | |
tree | 085a4499d6e582a0bf19c1df3b728a6d87d18a77 /lib/Sema/SemaTemplateInstantiate.cpp | |
parent | db7c3ac534888f5d7a0972fea6d7753ac6be9bee (diff) |
[Sema] ArrayRef-ize ActOnBaseSpecifiers. NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplateInstantiate.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp index 739f96d37f..fb7fc109d2 100644 --- a/lib/Sema/SemaTemplateInstantiate.cpp +++ b/lib/Sema/SemaTemplateInstantiate.cpp @@ -1837,9 +1837,7 @@ Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation, Invalid = true; } - if (!Invalid && - AttachBaseSpecifiers(Instantiation, InstantiatedBases.data(), - InstantiatedBases.size())) + if (!Invalid && AttachBaseSpecifiers(Instantiation, InstantiatedBases)) Invalid = true; return Invalid; |