aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2023-04-30 15:27:00 +0200
committerMark de Wever <koraq@xs4all.nl>2023-05-04 19:19:52 +0200
commitba15d186e5cef2620d562c6c9d9a6d570382cd0a (patch)
tree86597639d900a05d6b2c25236f4640f9a1697ca3 /clang/lib/Sema/SemaModule.cpp
parent6d6880554c2cd8d4d83db56c74eda24c22e6323a (diff)
downloadllvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.zip
llvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.tar.gz
llvm-ba15d186e5cef2620d562c6c9d9a6d570382cd0a.tar.bz2
[clang] Use -std=c++23 instead of -std=c++2b
During the ISO C++ Committee meeting plenary session the C++23 Standard has been voted as technical complete. This updates the reference to c++2b to c++23 and updates the __cplusplus macro. Drive-by fixes c++1z -> c++17 and c++2a -> c++20 when seen. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D149553
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
-rw-r--r--clang/lib/Sema/SemaModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaModule.cpp b/clang/lib/Sema/SemaModule.cpp
index 84a1fd8..53e453b 100644
--- a/clang/lib/Sema/SemaModule.cpp
+++ b/clang/lib/Sema/SemaModule.cpp
@@ -255,7 +255,7 @@ Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc,
}
}
- // C++2b [module.unit]p1: ... The identifiers module and import shall not
+ // C++23 [module.unit]p1: ... The identifiers module and import shall not
// appear as identifiers in a module-name or module-partition. All
// module-names either beginning with an identifier consisting of std
// followed by zero or more digits or containing a reserved identifier