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/CodeGen/CGBlocks.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/CodeGen/CGBlocks.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index ad414b783b1..dad433f6283 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -694,8 +694,7 @@ uint64_t BlockFunction::getBlockOffset(const BlockDeclRefExpr *BDRE) { llvm::APInt(32, Pad), ArrayType::Normal, 0); ValueDecl *PadDecl = VarDecl::Create(getContext(), 0, SourceLocation(), - 0, QualType(PadTy), 0, VarDecl::None, - SourceLocation()); + 0, QualType(PadTy), 0, VarDecl::None); Expr *E; E = new (getContext()) DeclRefExpr(PadDecl, PadDecl->getType(), SourceLocation(), false, false); |