[PATCH] D100712: [AST] Add NestedNameSpecifierLoc accessors to node introspection
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 17 15:31:46 PDT 2021
steveire created this revision.
steveire added a reviewer: njames93.
Herald added subscribers: mgrang, mgorny.
steveire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Change the GetLocations API to take instances by const-ref. This class
is copyable. APIs return copies, so the API taking a pointer was
needlessly hard to use.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100712
Files:
clang/include/clang/Tooling/NodeIntrospection.h
clang/lib/Tooling/CMakeLists.txt
clang/lib/Tooling/DumpTool/APIData.h
clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp
clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
clang/unittests/Introspection/IntrospectionTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100712.338343.patch
Type: text/x-patch
Size: 20373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210417/64cc1332/attachment-0001.bin>
More information about the cfe-commits
mailing list