summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-09 22:32:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-09 22:32:15 +0000
commit277aa36d689f1654f28ff41f8c6979f9c9e3a866 (patch)
tree99255c2fbb82a902872753f9a309b38ce24daa08 /clang/lib/CodeGen
parente9766d559ba577ba8e21d450feaae88c606e0ba3 (diff)
downloadbcm5719-llvm-277aa36d689f1654f28ff41f8c6979f9c9e3a866.tar.gz
bcm5719-llvm-277aa36d689f1654f28ff41f8c6979f9c9e3a866.zip
Suppress build warning.
llvm-svn: 81384
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index e637d40de07..ec8f626df5c 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -216,6 +216,7 @@ void CodeGenFunction::EmitStaticBlockVarDecl(const VarDecl &D) {
const llvm::Type *CodeGenFunction::BuildByRefType(const ValueDecl *D) {
QualType Ty = D->getType();
uint64_t Align = getContext().getDeclAlignInBytes(D);
+ (void) Align;
const llvm::Type *LTy = ConvertType(Ty);
bool needsCopyDispose = BlockRequiresCopying(Ty);
OpenPOWER on IntegriCloud