[clang] Extract attribute plugin instantiation to function (NFC)
authorAnders Waldenborg <anders@0x63.nu>
Sun, 12 Feb 2023 19:44:30 +0000 (20:44 +0100)
committerAnders Waldenborg <anders@0x63.nu>
Mon, 13 Mar 2023 15:47:51 +0000 (16:47 +0100)
commitf5f1813defb5810223de8f916380808a8ed34584
treed0043c571626eb97ccaada70c81275218231f37b
parent383cfeee09d1f345d08f396f2b7295b36830c88e
[clang] Extract attribute plugin instantiation to function (NFC)

This moves the code to instantiate the attribute plugins to the same
place where the plugin registry is defined so they live together and the
user of the plugins doesn't have the burden of instantiating the
plugins.

No functional change intended.

Differential Revision: https://reviews.llvm.org/D144403
clang/include/clang/Basic/ParsedAttrInfo.h
clang/lib/Basic/ParsedAttrInfo.cpp
clang/lib/Sema/ParsedAttr.cpp