diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-03-25 21:23:52 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-03-25 21:23:52 +0000 |
| commit | f3430ae3009a677765b4fd88f7597b1ef6bc7a6d (patch) | |
| tree | b9a80e39f3bbeed1fb61ccc5188fa313096a0f34 /clang/lib/Sema/SemaTemplateInstantiate.cpp | |
| parent | 8ea8fd48f2c7faf985890457ec13578ce9f0b6a7 (diff) | |
| download | bcm5719-llvm-f3430ae3009a677765b4fd88f7597b1ef6bc7a6d.tar.gz bcm5719-llvm-f3430ae3009a677765b4fd88f7597b1ef6bc7a6d.zip | |
Fix notes regarding the instantiation of member classes (and test 'em).
llvm-svn: 67708
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaTemplateInstantiate.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp index 60423f9f472..f6e36bf7791 100644 --- a/clang/lib/Sema/SemaTemplateInstantiate.cpp +++ b/clang/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; |

