aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaTemplateInstantiate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-04 00:32:56 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-04 00:32:56 +0000
commit3fb9e4b89f72823f162096086f0f964e6dcf66d6 (patch)
tree8b942b275d55cca992e80812dede111dd8d856fc /lib/Sema/SemaTemplateInstantiate.cpp
parentb162054ba8f5b64fe87fbc4837933ab23eebd52b (diff)
Implement pack expansion of base initializers, so that we can
initialize those lovely mixins that come from pack expansions of base specifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp
index 77d3e64a15..16500d4207 100644
--- a/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -1169,8 +1169,8 @@ Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation,
Unexpanded.data(), Unexpanded.size(),
TemplateArgs, ShouldExpand,
NumExpansions)) {
- continue;
Invalid = true;
+ continue;
}
// If we should expand this pack expansion now, do so.