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/Sema/SemaExprCXX.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/Sema/SemaExprCXX.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index 7c3f7ecaabd..7540dff44ad 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -676,8 +676,7 @@ void Sema::DeclareGlobalAllocationFunction(DeclarationName Name, QualType FnType = Context.getFunctionType(Return, &Argument, 1, false, 0); FunctionDecl *Alloc = FunctionDecl::Create(Context, GlobalCtx, SourceLocation(), Name, - FnType, /*DInfo=*/0, FunctionDecl::None, false, true, - SourceLocation()); + FnType, /*DInfo=*/0, FunctionDecl::None, false, true); Alloc->setImplicit(); ParmVarDecl *Param = ParmVarDecl::Create(Context, Alloc, SourceLocation(), 0, Argument, /*DInfo=*/0, |

