This is an archive of the discontinued LLVM Phabricator instance.

[AST] Add DeclarationNameInfo to node introspection
ClosedPublic

Authored by steveire on Apr 22 2021, 4:33 AM.

Diff Detail

Event Timeline

steveire created this revision.Apr 22 2021, 4:33 AM
steveire requested review of this revision.Apr 22 2021, 4:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2021, 4:33 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Harbormaster completed remote builds in B100224: Diff 339563.
njames93 added inline comments.Apr 23 2021, 8:15 AM
clang/include/clang/Tooling/NodeIntrospection.h
29

Please fix this lint warning.

clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
393–394

Kind of unrelated, but can these not be replaced with cladeName not in RefClades?

clang/unittests/Introspection/IntrospectionTest.cpp
1425–1427

Can this be replace with a

if (!NodeIntrospection::hasIntrospectionSupport())
  return;

Check at the start of the test?

Same goes for the rest of the tests added here.

steveire marked 3 inline comments as done.Apr 23 2021, 8:29 AM
njames93 accepted this revision.Apr 24 2021, 11:45 PM
This revision is now accepted and ready to land.Apr 24 2021, 11:45 PM