diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-23 16:58:33 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-23 16:58:33 +0000 |
commit | 7f6cf9764b33381e03fcf7c44f7985a333212b06 (patch) | |
tree | 68d66b1860a5b4e471e3d320fa1a28d67310d4c6 /tools/libclang/IndexDecl.cpp | |
parent | f5cd27d7eef3fd4021545dd76a1faf7152fda344 (diff) |
Improve Lexer::getImmediateMacroName to take into account inner macros
of macro arguments.
For "MAC1( MAC2(foo) )" and location of 'foo' token it would return
"MAC1" instead of "MAC2".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/IndexDecl.cpp')
0 files changed, 0 insertions, 0 deletions