[clang] Move ParsedAttrInfo from Sema to Basic (NFC)
authorAnders Waldenborg <anders@0x63.nu>
Sun, 12 Feb 2023 18:33:22 +0000 (19:33 +0100)
committerAnders Waldenborg <anders@0x63.nu>
Mon, 13 Mar 2023 15:47:51 +0000 (16:47 +0100)
commit383cfeee09d1f345d08f396f2b7295b36830c88e
treee76b050699036fda53425430c3c6161ffa79c6c3
parent21bca796d7f06006037bc57a578131751474adea
[clang] Move ParsedAttrInfo from Sema to Basic (NFC)

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.

Differential Revision: https://reviews.llvm.org/D144402
clang/include/clang/Basic/ParsedAttrInfo.h [new file with mode: 0644]
clang/include/clang/Sema/ParsedAttr.h
clang/lib/Basic/CMakeLists.txt
clang/lib/Basic/ParsedAttrInfo.cpp [new file with mode: 0644]
clang/lib/Sema/ParsedAttr.cpp