This is an archive of the discontinued LLVM Phabricator instance.

[AST] Add Concept-related locations to node introspection
Needs ReviewPublic

Authored by steveire on Apr 29 2021, 4:21 PM.

Details

Reviewers
njames93
Summary

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.

Diff Detail

Event Timeline

steveire created this revision.Apr 29 2021, 4:21 PM
steveire requested review of this revision.Apr 29 2021, 4:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2021, 4:21 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript