aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2023-08-11 08:40:01 -0400
committerAaron Ballman <aaron@aaronballman.com>2023-08-11 08:42:01 -0400
commit9c4ade0623af842cda16e5c71b27fb794a3ff3db (patch)
tree54279a693dd76f7d290292b9489d5a48819c2521 /clang/lib/Lex/Lexer.cpp
parent12e1a9b876e87e80c70fc0e72b648ce15aaaf24e (diff)
downloadllvm-9c4ade0623af842cda16e5c71b27fb794a3ff3db.zip
llvm-9c4ade0623af842cda16e5c71b27fb794a3ff3db.tar.gz
llvm-9c4ade0623af842cda16e5c71b27fb794a3ff3db.tar.bz2
[C23] Rename C2x->C23 in diagnostics
This renames C2x to C23 in diagnostic identifiers and messages. The changes were made mechanically.
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r--clang/lib/Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index 15b78ca..fc73bbf 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/lib/Lex/Lexer.cpp
@@ -1959,7 +1959,7 @@ bool Lexer::LexNumericConstant(Token &Result, const char *CurPtr) {
if (!isLexingRawMode())
Diag(CurPtr, LangOpts.CPlusPlus
? diag::warn_cxx11_compat_digit_separator
- : diag::warn_c2x_compat_digit_separator);
+ : diag::warn_c23_compat_digit_separator);
CurPtr = ConsumeChar(CurPtr, Size, Result);
CurPtr = ConsumeChar(CurPtr, NextSize, Result);
return LexNumericConstant(Result, CurPtr);