aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2023-01-19 14:44:14 +0100
committerHaojian Wu <hokein.wu@gmail.com>2023-01-23 12:51:21 +0100
commitebbeb164c25a40cb6ba9c6b18dce5dcd06c0bb07 (patch)
tree4f77348fa74c0cd972cbe39af33d719f9f4f9544 /clang/tools/c-index-test/c-index-test.c
parent44cac911e51a15fcfac7a9888ad0146191a14730 (diff)
downloadllvm-ebbeb164c25a40cb6ba9c6b18dce5dcd06c0bb07.zip
llvm-ebbeb164c25a40cb6ba9c6b18dce5dcd06c0bb07.tar.gz
llvm-ebbeb164c25a40cb6ba9c6b18dce5dcd06c0bb07.tar.bz2
[clang] Fix the location of UsingTypeLoc.
It is revealed by the https://reviews.llvm.org/D141280. ``` namespace ns { class Foo {}; } using ns::Foo; // Before the fix, the Location of UsingTypeLoc Foo points to the token "class", slection on ^Foo will result in the VarDecl abc. class Foo abc; ``` Differential Revision: https://reviews.llvm.org/D142125
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions