[all-commits] [llvm/llvm-project] 1381ef: [Clang] Add flags and lang option for C++2d (#203992)
Sirraide via All-commits
all-commits at lists.llvm.org
Fri Jul 3 14:37:24 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1381ef49fc5cc8c5bd76aa9b86fdf2507312d78d
https://github.com/llvm/llvm-project/commit/1381ef49fc5cc8c5bd76aa9b86fdf2507312d78d
Author: Sirraide <aeternalmail at gmail.com>
Date: 2026-07-03 (Fri, 03 Jul 2026)
Changed paths:
M clang/docs/CommandGuide/clang.rst
M clang/docs/ReleaseNotes.md
M clang/docs/ReleaseNotesTemplate.txt
M clang/docs/UsersManual.rst
M clang/include/clang/Basic/Diagnostic.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangStandard.h
M clang/include/clang/Basic/LangStandards.def
M clang/include/clang/Options/Options.td
M clang/include/clang/Testing/TestLanguage.def
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/Basic/LangOptions.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/Targets/OSTargets.cpp
M clang/lib/CrossTU/CrossTranslationUnit.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
M clang/test/Driver/cl-options.c
M clang/test/Driver/unknown-std.cpp
M clang/test/Preprocessor/init.c
M clang/unittests/Basic/LangOptionsTest.cpp
M clang/www/OpenProjects.html
M clang/www/cxx_status.html
M clang/www/make_cxx_dr_status
Log Message:
-----------
[Clang] Add flags and lang option for C++2d (#203992)
This adds diagnostic groups, command-line options, a language option,
and various other things required to support `-std=c++2d`. I haven’t
touched e.g. clang-tidy or clang-format, as I’m not really familiar w/
either. This is only meant to add the most necessary parts to support
C++29 mode.
I grepped for `CPlusPlus26`/`C++26`/`C++2c` and updated all places I
could find where we need to handle every language mode in some way or
another.
This patch is roughly based on b763d6a4ed4650c74c6846d743156468563b0e31.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list