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.
Paths
| Differential D144402
[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 This will allow it to be accessed from preprocessor later on. No functional change intended.
Diff Detail
Event Timelinewanders added a child revision: D144403: [clang] Extract attribute plugin instantiation to function (NFC).Feb 20 2023, 8:36 AM 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 Comment Actions 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. Comment Actions
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 Closed by commit rG383cfeee09d1: [clang] Move ParsedAttrInfo from Sema to Basic (NFC) (authored by wanders). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504041 clang/include/clang/Basic/ParsedAttrInfo.h
clang/include/clang/Sema/ParsedAttr.h
clang/lib/Basic/CMakeLists.txt
clang/lib/Basic/ParsedAttrInfo.cpp
clang/lib/Sema/ParsedAttr.cpp
|