================ @@ -65,6 +65,17 @@ enum class PointerAuthenticationMode : unsigned { SignAndAuth }; +static constexpr llvm::StringLiteral PointerAuthenticationOptionStrip = "strip"; ---------------- AaronBallman wrote:
> I was meaning "is there a more idiomatic way to have these string constants > specified?" :D Usually we'd do what @erichkeane was suggesting -- not have these as constants in LangOptions.h but instead have helper functions which convert string -> enum -> string. Then these strings can be hidden within a .cpp file rather than exposed in a header with broader visibility. WDYT? https://github.com/llvm/llvm-project/pull/136828 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits