diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-12-24 23:58:20 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-12-24 23:58:20 +0000 |
commit | 9436b97369fb752ebf7eebb865b678245f1c8071 (patch) | |
tree | 23179a0b5822e64686cc24aec992d6e0ebdd0da0 /lib/Sema/SemaTemplateInstantiate.cpp | |
parent | 4c7c3a1cdfcce6e681f1239d5d9827b41ed68d17 (diff) |
[Sema] ArrayRef-ize ActOnBaseSpecifiers. NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256399 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 ac99a25470..f34cb83057 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; |