This is an archive of the discontinued LLVM Phabricator instance.

[clang] Move ParsedAttrInfo from Sema to Basic (NFC)
ClosedPublic

Authored by wanders on Feb 20 2023, 8:36 AM.

Details

Summary

This moves the ParsedAttrInfo class and the registry for attribute
plugin to be part of Basic module instead of Sema module.

This will allow it to be accessed from preprocessor later on.

No functional change intended.

Diff Detail

Event Timeline

wanders created this revision.Feb 20 2023, 8:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2023, 8:36 AM
wanders requested review of this revision.Feb 20 2023, 8:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2023, 8:36 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
wanders retitled this revision from [clang] Move ParsedAttrInfo from Sema to Basic (NFC) r=aaron.ballman to [clang] Move ParsedAttrInfo from Sema to Basic (NFC).Feb 20 2023, 8:42 AM
wanders updated this revision to Diff 504041.Mar 10 2023, 12:29 AM

I want to wait for @aaron.ballman to answer, but i think this is generally OK. Note the motivation is the ability to check this from has_cpp_attribute/has_c_attribute/etc.

I want to wait for @aaron.ballman to answer, but i think this is generally OK. Note the motivation is the ability to check this from has_cpp_attribute/has_c_attribute/etc.

I did discuss this with @aaron.ballman in his office hours 13th Feb, so he should be aware of context.

This revision is now accepted and ready to land.Mar 10 2023, 7:24 AM
This revision was landed with ongoing or failed builds.Mar 13 2023, 8:48 AM
This revision was automatically updated to reflect the committed changes.