summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2008-10-31 10:24:31 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2008-10-31 10:24:31 +0000
commit83b95cc60c93441c123d49e53277f7431b7890ae (patch)
tree844d9fd316ad97fa62ee4469baf0964c57777639 /clang/lib/Lex/Preprocessor.cpp
parent87bfa4340cf815735ec8dcbfb8a68b5255cb3cff (diff)
downloadbcm5719-llvm-83b95cc60c93441c123d49e53277f7431b7890ae.tar.gz
bcm5719-llvm-83b95cc60c93441c123d49e53277f7431b7890ae.zip
Fixed build warning. No functionality change.
llvm-svn: 58503
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index c8c64bf3da3..901bcd08ce3 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -570,8 +570,8 @@ static void InitializePredefinedMacros(Preprocessor &PP,
char MacroBuf[60];
sprintf(MacroBuf, "__INTMAX_MAX__=%lld",
(TI.getIntMaxType() == TargetInfo::UnsignedLongLong?
- (1LL<<(TI.getLongLongWidth() -1)) :
- (1LL<<(TI.getLongLongWidth() -2) -1)));
+ (1LL << (TI.getLongLongWidth() - 1)) :
+ ((1LL << (TI.getLongLongWidth() - 2)) - 1)));
DefineBuiltinMacro(Buf, MacroBuf);
if (TI.getIntMaxType() == TargetInfo::UnsignedLongLong)
OpenPOWER on IntegriCloud