[clang] [Attributes] Support Attributes being declared as only supporting late parsing when passing an experimental feature flag (PR #88596)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 13 22:28:06 PDT 2024
================
@@ -1822,28 +1822,106 @@ void WriteSemanticSpellingSwitch(const std::string &VarName,
OS << " }\n";
}
+enum class LateAttrParseKind {
+ LateAttrParsingNever = 0,
+ LateAttrParsingAlways = 1,
+ LateAttrParsingExperimentalOnly = 2
+};
+
----------------
Sirraide wrote:
This seems a bit verbose seeing as it’s a scoped enum anyway. Is there a reason why these aren’t just called `Never` etc.
https://github.com/llvm/llvm-project/pull/88596
More information about the cfe-commits
mailing list