This makes it easier to add additional handling when the
tablegen-generated code does not find a match.
No functional change intended.
Differential D144404
[clang] Extract function for generated part of clang::hasAttribute (NFC) ClosedPublic Authored by wanders on Feb 20 2023, 8:36 AM.
Details Summary This makes it easier to add additional handling when the No functional change intended.
Diff Detail
Event Timelinewanders added a child revision: D144405: [clang][pp] Handle attributes defined by plugin in __has_attribute.Feb 20 2023, 8:36 AM wanders retitled this revision from [clang] Extract function for generated part of clang::hasAttribute (NFC) r=aaron.ballman to [clang] Extract function for generated part of clang::hasAttribute (NFC).Feb 20 2023, 8:42 AM erichkeane added inline comments.
This revision is now accepted and ready to land.Feb 28 2023, 2:39 PM wanders edited parent revisions, added: D145769: [clang] Extract ParsedAttrInfo::hasSpelling method (NFC); removed: D144403: [clang] Extract attribute plugin instantiation to function (NFC).Mar 10 2023, 12:34 AM This revision was landed with ongoing or failed builds.Mar 13 2023, 8:48 AM Closed by commit rG8629343a8b6c: [clang] Extract function for generated part of clang::hasAttribute (NFC) (authored by wanders). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504685 clang/lib/Basic/Attributes.cpp
|
Why is this not just return hasAttributeImpl(...)?