[clang] [clang][Basic] Add helper APIs to get language version codes from LangOptions (PR #163348)
Michael Buch via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 15 02:11:55 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,
----------------
Michael137 wrote:
Not applicable now that we use `LangStandards.def`
https://github.com/llvm/llvm-project/pull/163348
More information about the cfe-commits
mailing list