llvm-project
73d1602d - [clang][Tooling] Fix `getFileRange` returning a range spanning macro invocation (#169842)

Commit
42 days ago
[clang][Tooling] Fix `getFileRange` returning a range spanning macro invocation (#169842) A followup to 40991215f4aba37fd43b65d96ad0a445dcd041b2. When the start or end token is inside a macro argument and the other is outside of the macro, we want to reject the range for a similar reason. The range will include half of the macro call, either the closing paren or the macro name and open paren.
Author
Parents
Loading