projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9f22e
)
Clean up code according to coding standards
author
Andy Gibbs
<andyg1001@hotmail.co.uk>
Sat, 17 Nov 2012 22:17:28 +0000
(22:17 +0000)
committer
Andy Gibbs
<andyg1001@hotmail.co.uk>
Sat, 17 Nov 2012 22:17:28 +0000
(22:17 +0000)
llvm-svn: 168274
clang/lib/Lex/PPMacroExpansion.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Lex/PPMacroExpansion.cpp
b/clang/lib/Lex/PPMacroExpansion.cpp
index
1e77317
..
c5948e6
100644
(file)
--- a/
clang/lib/Lex/PPMacroExpansion.cpp
+++ b/
clang/lib/Lex/PPMacroExpansion.cpp
@@
-1293,9
+1293,8
@@
void Preprocessor::ExpandBuiltinMacro(Token &Tok) {
if (!FinishLexStringLiteral(Tok, WarningName, "'__has_warning'",
/*MacroExpansion=*/false)) {
// Eat tokens until ')'.
- while (Tok.isNot(tok::r_paren)
- && Tok.isNot(tok::eod)
- && Tok.isNot(tok::eof))
+ while (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eod) &&
+ Tok.isNot(tok::eof))
LexUnexpandedToken(Tok);
break;
}