[clang] [clang][Basic] Add helper APIs to get language version codes from LangOptions (PR #163348)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 14 08:17:11 PDT 2025
================
@@ -184,6 +184,28 @@ class LangOptionsBase {
HLSL_202y = 2029,
};
+ /// C language version codes as defined by the standard.
+ enum CLangStd : uint32_t {
+ // FIXME: Use correct value for C2y.
+ C_2y = 202400,
----------------
AaronBallman wrote:
`C2y` instead of `C_2y`?
https://github.com/llvm/llvm-project/pull/163348
More information about the cfe-commits
mailing list