reduce indentation.

llvm-svn: 91262
This commit is contained in:
Chris Lattner 2009-12-14 04:26:45 +00:00
parent 8f3c70e909
commit 676268e45a
1 changed files with 14 additions and 15 deletions
clang/lib/Lex

View File

@ -142,10 +142,10 @@ static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT,
// 'defined' or if it is a macro. Note that we check here because many
// keywords are pp-identifiers, so we can't check the kind.
if (IdentifierInfo *II = PeekTok.getIdentifierInfo()) {
if (II->isStr("defined")) {
// Handle "defined X" and "defined(X)".
if (II->isStr("defined"))
return(EvaluateDefined(Result, PeekTok, DT, ValueLive, PP));
} else {
// If this identifier isn't 'defined' or one of the special
// preprocessor keywords and it wasn't macro expanded, it turns
// into a simple 0, unless it is the C++ keyword "true", in which case it
@ -158,7 +158,6 @@ static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT,
PP.LexNonComment(PeekTok);
return false;
}
}
switch (PeekTok.getKind()) {
default: // Non-value token.