summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-10-08 21:23:02 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-10-08 21:23:02 +0000
commitc24fb0718dad36827fcff634e951caad4e5d2f54 (patch)
tree74b372ce55717ca99efb064aaa77bb3573829a56 /clang/lib/AST/ASTContext.cpp
parent2c742f919a9ca0ca5385ab50ab812e6e9cb4d220 (diff)
downloadbcm5719-llvm-c24fb0718dad36827fcff634e951caad4e5d2f54.tar.gz
bcm5719-llvm-c24fb0718dad36827fcff634e951caad4e5d2f54.zip
Remove unused variables. No functionality change.
llvm-svn: 315196
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index a657eed2fb0..fa4c4805e27 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -5671,7 +5671,6 @@ std::string ASTContext::getObjCEncodingForBlock(const BlockExpr *Expr) const {
// Compute size of all parameters.
// Start with computing size of a pointer in number of bytes.
// FIXME: There might(should) be a better way of doing this computation!
- SourceLocation Loc;
CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
CharUnits ParmOffset = PtrSize;
for (auto PI : Decl->parameters()) {
@@ -5779,7 +5778,6 @@ std::string ASTContext::getObjCEncodingForMethodDecl(const ObjCMethodDecl *Decl,
// Compute size of all parameters.
// Start with computing size of a pointer in number of bytes.
// FIXME: There might(should) be a better way of doing this computation!
- SourceLocation Loc;
CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
// The first two arguments (self and _cmd) are pointers; account for
// their size.
OpenPOWER on IntegriCloud