diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-02-24 00:05:14 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-02-24 00:05:14 +0000 |
commit | c515978bd3a703aa733f846a0094ffa84d149074 (patch) | |
tree | 575f1660e68d74b4268c6a1460f2fbb4245da518 /include/clang/Lex/PPConditionalDirectiveRecord.h | |
parent | 82a29af8cbc4b117af83c5c5dfa875b5699c97c4 (diff) |
[preprocessor] Use MacroDirective in the preprocessor callbacks to make available the
full information about the macro (e.g if it was imported and where).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/PPConditionalDirectiveRecord.h')
-rw-r--r-- | include/clang/Lex/PPConditionalDirectiveRecord.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Lex/PPConditionalDirectiveRecord.h b/include/clang/Lex/PPConditionalDirectiveRecord.h index 29d9289274..b9a22529e2 100644 --- a/include/clang/Lex/PPConditionalDirectiveRecord.h +++ b/include/clang/Lex/PPConditionalDirectiveRecord.h @@ -90,9 +90,9 @@ private: virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, SourceLocation IfLoc); virtual void Ifdef(SourceLocation Loc, const Token &MacroNameTok, - const MacroInfo *MI); + const MacroDirective *MD); virtual void Ifndef(SourceLocation Loc, const Token &MacroNameTok, - const MacroInfo *MI); + const MacroDirective *MD); virtual void Else(SourceLocation Loc, SourceLocation IfLoc); virtual void Endif(SourceLocation Loc, SourceLocation IfLoc); }; |