This is an archive of the discontinued LLVM Phabricator instance.

[clang][ExtractAPI] Add support for C++ member templates
ClosedPublic

Authored by evelez7 on Aug 15 2023, 3:19 PM.

Details

Summary

Visit and serialize C++ fields by checking if a var template's context is a CXXRecordDecl in VisitVarTemplateDecl.

Depends on D158027

Diff Detail

Event Timeline

evelez7 created this revision.Aug 15 2023, 3:19 PM
Herald added a project: Restricted Project. · View Herald Transcript
evelez7 requested review of this revision.Aug 15 2023, 3:19 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: cfe-commits. · View Herald Transcript
evelez7 updated this revision to Diff 550958.Aug 16 2023, 7:12 PM

Update to use the new Template class constructor instead of old getFragments.

Also better functional style for appending.

dang accepted this revision.Aug 21 2023, 5:23 AM

LGTM!

This revision is now accepted and ready to land.Aug 21 2023, 5:23 AM
This revision was landed with ongoing or failed builds.Aug 21 2023, 10:18 AM
This revision was automatically updated to reflect the committed changes.