diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-05-03 22:31:32 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-05-03 22:31:32 +0000 |
commit | dd08a0c178329ec16cb9e494e6880f3991708b93 (patch) | |
tree | fa0e44632630ef6a95089c726dead96050fc743c /tools | |
parent | 2f729009067e6aff6198719ec9f8220d88cfea09 (diff) |
[Preprocessor] For the MacroExpands preprocessor callback, also pass the MacroArgs object that provides information about
the argument tokens for a function macro.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/Indexing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/Indexing.cpp b/tools/libclang/Indexing.cpp index 2a504db2a4..27d8b8327f 100644 --- a/tools/libclang/Indexing.cpp +++ b/tools/libclang/Indexing.cpp @@ -292,7 +292,7 @@ public: /// MacroExpands - This is called by when a macro invocation is found. virtual void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, - SourceRange Range) { + SourceRange Range, const MacroArgs *Args) { } /// SourceRangeSkipped - This hook is called when a source range is skipped. |