diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-08-21 00:31:54 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-08-21 00:31:54 +0000 |
commit | 6032ef1aa3e3cacfe22e0865853321096597a96b (patch) | |
tree | 6cbd99e6f4478b9f2e2d07b2c946245a68a93928 /clang/lib/AST/DeclTemplate.cpp | |
parent | a8eed7dabb397b709476a237ccc1bd012d08b727 (diff) | |
download | bcm5719-llvm-6032ef1aa3e3cacfe22e0865853321096597a96b.tar.gz bcm5719-llvm-6032ef1aa3e3cacfe22e0865853321096597a96b.zip |
Remove TypeSpecStartLocation from VarDecl/FunctionDecl/FieldDecl, and use DeclaratorInfo to get this information.
llvm-svn: 79584
Diffstat (limited to 'clang/lib/AST/DeclTemplate.cpp')
-rw-r--r-- | clang/lib/AST/DeclTemplate.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/AST/DeclTemplate.cpp b/clang/lib/AST/DeclTemplate.cpp index c132749f409..08e53eb0889 100644 --- a/clang/lib/AST/DeclTemplate.cpp +++ b/clang/lib/AST/DeclTemplate.cpp @@ -236,10 +236,8 @@ NonTypeTemplateParmDecl * NonTypeTemplateParmDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, - DeclaratorInfo *DInfo, - SourceLocation TypeSpecStartLoc) { - return new (C) NonTypeTemplateParmDecl(DC, L, D, P, Id, T, DInfo, - TypeSpecStartLoc); + DeclaratorInfo *DInfo) { + return new (C) NonTypeTemplateParmDecl(DC, L, D, P, Id, T, DInfo); } SourceLocation NonTypeTemplateParmDecl::getDefaultArgumentLoc() const { |