================
@@ -11,6 +11,17 @@
//===----------------------------------------------------------------------===//
let Component = "Lex", CategoryName = "Lexical or Preprocessor Issue" in {
+// C23 compatibility with C17 and earlier.
+defm c23_pp_directive : C23Compat<
+ "use of a '#%select{<BUG IF SEEN>|elifdef|elifndef}0' directive is",
/*ext_warn*/true>;
+
+// C++23 compatibility with C++20 and earlier.
+defm cxx23_pp_directive : CXX23Compat<
+ "use of a '#%select{<BUG IF SEEN>|elifdef|elifndef}0' directive is">;
+
+// C++26 compatibility with C++23 and earlier.
+defm raw_string_literal_character_set : CXX26Compat<
+ " '%0' in a raw string literal delimiter is", /*ext_warn*/false>;
----------------
AaronBallman wrote:
```suggestion
"'%0' in a raw string literal delimiter is", /*ext_warn*/false>;
```
I think that was a typo with the original?
https://github.com/llvm/llvm-project/pull/216693
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits