[cfe-commits] r169041 - /cfe/trunk/lib/CodeGen/CGExpr.cpp
Aaron Ballman
aaron at aaronballman.com
Fri Nov 30 13:44:01 PST 2012
Author: aaronballman
Date: Fri Nov 30 15:44:01 2012
New Revision: 169041
URL: http://llvm.org/viewvc/llvm-project?rev=169041&view=rev
Log:
Fixing a precedence issue with my previous commit.
Modified:
cfe/trunk/lib/CodeGen/CGExpr.cpp
Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=169041&r1=169040&r2=169041&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Fri Nov 30 15:44:01 2012
@@ -1950,7 +1950,7 @@
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);
More information about the cfe-commits
mailing list