Files
clang-p2996/clang/lib/Tooling/Transformer/RangeSelector.cpp
Yitzhak Mandelbaum c783258150 [clang][tooling] Fix name range-selector to handle TypeLocs correctly.
Previously, where `name` was applied to a template-specialization TypeLoc, it
returned the entire specialization (name, brackets, args) rather than just the
name identifier. With this change, exactly the name token is selected.

Differential Revision: https://reviews.llvm.org/D158771
2023-08-25 14:44:43 +00:00

13 KiB