summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2012-11-30 21:44:01 +0000
committerAaron Ballman <aaron@aaronballman.com>2012-11-30 21:44:01 +0000
commitf505d554725faa8737ac01104518310f53f405c8 (patch)
tree71fb5f16cb08e77432f15b4207f6201772d73e16 /clang/lib/CodeGen/CGExpr.cpp
parent2776b4c624db4b79b8b7d8eb4f5a55ab6e6dab92 (diff)
downloadbcm5719-llvm-f505d554725faa8737ac01104518310f53f405c8.tar.gz
bcm5719-llvm-f505d554725faa8737ac01104518310f53f405c8.zip
Fixing a precedence issue with my previous commit.
llvm-svn: 169041
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index ac6925f784a..ad6e3beea3f 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -1950,7 +1950,7 @@ llvm::Constant *CodeGenFunction::EmitCheckTypeDescriptor(QualType T) {
if (T->isIntegerType()) {
TypeKind = 0;
TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) |
- T->isSignedIntegerType() ? 1 : 0;
+ (T->isSignedIntegerType() ? 1 : 0);
} else if (T->isFloatingType()) {
TypeKind = 1;
TypeInfo = getContext().getTypeSize(T);
OpenPOWER on IntegriCloud