commit | 42c48528bb01a1403c0ec0bb947558105bf5433c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <doug.gregor@gmail.com> | Wed Mar 25 21:23:52 2009 +0000 |
committer | Douglas Gregor <doug.gregor@gmail.com> | Wed Mar 25 21:23:52 2009 +0000 |
tree | de894d4422b2a868d3e8591dfc01e8bf9749b553 | |
parent | cc88797aac66319a370847d204aef5de70c43f65 [diff] [blame] |
Fix notes regarding the instantiation of member classes (and test 'em). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67708 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp index 60423f9..f6e36bf 100644 --- a/lib/Sema/SemaTemplateInstantiate.cpp +++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -683,8 +683,7 @@ } Pattern = PatternDef; - InstantiatingTemplate Inst(*this, Instantiation->getLocation(), - Instantiation); + InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); if (Inst) return true;