diff options
author | John McCall <rjmccall@apple.com> | 2009-10-29 08:12:44 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-10-29 08:12:44 +0000 |
commit | 0ad166672f581c4a8ed5f4c0329c856820e10bd4 (patch) | |
tree | 0f937f8222c080e903277cb84f9888d218237b4a /clang/lib/Sema/SemaDecl.cpp | |
parent | 588d2d585d1bafe4cffe9ce2b8d41965c42001c3 (diff) | |
download | bcm5719-llvm-0ad166672f581c4a8ed5f4c0329c856820e10bd4.tar.gz bcm5719-llvm-0ad166672f581c4a8ed5f4c0329c856820e10bd4.zip |
Track source information for template arguments and template specialization
types. Preserve it through template instantiation. Preserve it through PCH,
although TSTs themselves aren't serializable, so that's pretty much meaningless.
llvm-svn: 85500
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index a86857990a0..2ba1130c875 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -2796,7 +2796,7 @@ Sema::ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, // If the declarator is a template-id, translate the parser's template // argument list into our AST format. bool HasExplicitTemplateArgs = false; - llvm::SmallVector<TemplateArgument, 16> TemplateArgs; + llvm::SmallVector<TemplateArgumentLoc, 16> TemplateArgs; SourceLocation LAngleLoc, RAngleLoc; if (D.getKind() == Declarator::DK_TemplateId) { TemplateIdAnnotation *TemplateId = D.getTemplateId(); |