r190390 - Fix minor coding style issue in r190296 pointed out by Richard Smith.

David Tweed david.tweed at arm.com
Tue Sep 10 01:00:37 PDT 2013


Author: davidtweed
Date: Tue Sep 10 03:00:34 2013
New Revision: 190390

URL: http://llvm.org/viewvc/llvm-project?rev=190390&view=rev
Log:
Fix minor coding style issue in r190296 pointed out by Richard Smith.

Modified:
    cfe/trunk/lib/Basic/TargetInfo.cpp

Modified: cfe/trunk/lib/Basic/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/TargetInfo.cpp?rev=190390&r1=190389&r2=190390&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/TargetInfo.cpp (original)
+++ cfe/trunk/lib/Basic/TargetInfo.cpp Tue Sep 10 03:00:34 2013
@@ -248,10 +248,10 @@ void TargetInfo::setForcedLangOptions(La
     LongDoubleWidth = LongDoubleAlign = 128;
 
     assert(PointerWidth == 32 || PointerWidth == 64);
-    bool is32BitArch = PointerWidth == 32;
-    SizeType = is32BitArch ? UnsignedInt : UnsignedLong;
-    PtrDiffType = is32BitArch ? SignedInt : SignedLong;
-    IntPtrType = is32BitArch ? SignedInt : SignedLong;
+    bool Is32BitArch = PointerWidth == 32;
+    SizeType = Is32BitArch ? UnsignedInt : UnsignedLong;
+    PtrDiffType = Is32BitArch ? SignedInt : SignedLong;
+    IntPtrType = Is32BitArch ? SignedInt : SignedLong;
 
     IntMaxType = SignedLongLong;
     UIntMaxType = UnsignedLongLong;





More information about the cfe-commits mailing list