aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-03-25 21:23:52 +0000
committerDouglas Gregor <dgregor@apple.com>2009-03-25 21:23:52 +0000
commitd048bb79f5c3b3751878aec038bce28a5ce0f439 (patch)
treede894d4422b2a868d3e8591dfc01e8bf9749b553 /lib
parentd475b8d9e6f5ff0e6ab8d15667ce8a64c7cb9a4d (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp
index 60423f9f47..f6e36bf779 100644
--- a/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -683,8 +683,7 @@ Sema::InstantiateClass(SourceLocation PointOfInstantiation,
}
Pattern = PatternDef;
- InstantiatingTemplate Inst(*this, Instantiation->getLocation(),
- Instantiation);
+ InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation);
if (Inst)
return true;