aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/PPExpressions.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/PPExpressions.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/PPExpressions.cpp')
-rw-r--r--clang/lib/Lex/PPExpressions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PPExpressions.cpp b/clang/lib/Lex/PPExpressions.cpp
index 7468313..269984a 100644
--- a/clang/lib/Lex/PPExpressions.cpp
+++ b/clang/lib/Lex/PPExpressions.cpp
@@ -336,8 +336,8 @@ static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT,
// to a library type may be more appropriate there.
if (Literal.isBitInt)
PP.Diag(PeekTok, PP.getLangOpts().C23
- ? diag::warn_c2x_compat_bitint_suffix
- : diag::ext_c2x_bitint_suffix);
+ ? diag::warn_c23_compat_bitint_suffix
+ : diag::ext_c23_bitint_suffix);
// Parse the integer literal into Result.
if (Literal.GetIntegerValue(Result.Val)) {