summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPExpressions.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-05-04 02:25:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-05-04 02:25:31 +0000
commit66a8186ed415f4f385ea28201ac87b0350d92714 (patch)
tree1a216031d7df787c8732a073ef6bd7de622a519b /clang/lib/Lex/PPExpressions.cpp
parent949d55d87ac6675023893b3ca5aa95a6cd277920 (diff)
downloadbcm5719-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.cpp4
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)
OpenPOWER on IntegriCloud