[PATCH] D101589: [AST] Add Concept-related locations to node introspection

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 29 16:21:38 PDT 2021


steveire created this revision.
steveire added a reviewer: njames93.
Herald added a subscriber: mgrang.
steveire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This would be less complicated if the ReturnTypeRequirement were not a
nested class. That should probably be changed in a prior patch.

Implement the llvm-style rtti for ConceptReference -> TypeConstraint.
The generated NodeIntrospection relies on the ability to use dyn_cast
with classes to provide locations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101589

Files:
  clang/include/clang/AST/ASTConcept.h
  clang/include/clang/Tooling/NodeIntrospection.h
  clang/lib/Tooling/DumpTool/APIData.h
  clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp
  clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.h
  clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
  clang/lib/Tooling/EmptyNodeIntrospection.inc.in
  clang/unittests/Introspection/IntrospectionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101589.341705.patch
Type: text/x-patch
Size: 30330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210429/f44d8a16/attachment-0001.bin>


More information about the cfe-commits mailing list