]> granicus.if.org Git - clang/commitdiff
Fixing a precedence issue with my previous commit.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 30 Nov 2012 21:44:01 +0000 (21:44 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 30 Nov 2012 21:44:01 +0000 (21:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169041 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGExpr.cpp

index ac6925f784a8beaa1315b76fd33f21500aba4c56..ad6e3beea3f5c7ee45c1bec3bfb42a114215ef86 100644 (file)
@@ -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);