]> granicus.if.org Git - clang/commitdiff
Fix minor coding style issue in r190296 pointed out by Richard Smith.
authorDavid Tweed <david.tweed@arm.com>
Tue, 10 Sep 2013 08:00:34 +0000 (08:00 +0000)
committerDavid Tweed <david.tweed@arm.com>
Tue, 10 Sep 2013 08:00:34 +0000 (08:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190390 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/TargetInfo.cpp

index 38cb4117876f54e2126f47bf175015fc89d3adf5..3feaf9e572c31d1b687c1c7c5709475aa74b214e 100644 (file)
@@ -248,10 +248,10 @@ void TargetInfo::setForcedLangOptions(LangOptions &Opts) {
     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;