diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-05-04 02:25:31 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-05-04 02:25:31 +0000 |
commit | 66a8186ed415f4f385ea28201ac87b0350d92714 (patch) | |
tree | 1a216031d7df787c8732a073ef6bd7de622a519b /clang/lib/Lex/PPExpressions.cpp | |
parent | 949d55d87ac6675023893b3ca5aa95a6cd277920 (diff) | |
download | bcm5719-llvm-66a8186ed415f4f385ea28201ac87b0350d92714.tar.gz bcm5719-llvm-66a8186ed415f4f385ea28201ac87b0350d92714.zip |
Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition.
clang::MacroDefinition now models the currently-defined value of a macro. The
previous MacroDefinition type, which represented a record of a macro definition
directive for a detailed preprocessing record, is now called MacroDefinitionRecord.
llvm-svn: 236400
Diffstat (limited to 'clang/lib/Lex/PPExpressions.cpp')
-rw-r--r-- | clang/lib/Lex/PPExpressions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PPExpressions.cpp b/clang/lib/Lex/PPExpressions.cpp index d05ec672c8b..411a5012241 100644 --- a/clang/lib/Lex/PPExpressions.cpp +++ b/clang/lib/Lex/PPExpressions.cpp @@ -108,9 +108,9 @@ static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, // Otherwise, we got an identifier, is it defined to something? IdentifierInfo *II = PeekTok.getIdentifierInfo(); - Preprocessor::MacroDefinition Macro = PP.getMacroDefinition(II); + MacroDefinition Macro = PP.getMacroDefinition(II); Result.Val = !!Macro; - Result.Val.setIsUnsigned(false); // Result is signed intmax_t. + Result.Val.setIsUnsigned(false); // Result is signed intmax_t. // If there is a macro, mark it used. if (Result.Val != 0 && ValueLive) |