diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2024-07-27 23:34:35 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2024-10-23 18:26:01 +0000 |
| commit | 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583 (patch) | |
| tree | 6cf5ab1f05330c6773b1f3f64799d56a9c7a1faa /contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp | |
| parent | 6b9f7133aba44189d9625c352bc2c2a59baf18ef (diff) | |
| parent | ac9a064cb179f3425b310fa2847f8764ac970a4d (diff) | |
Diffstat (limited to 'contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp b/contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp index 0da087c33e3f..3abc689b93e8 100644 --- a/contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp +++ b/contrib/llvm-project/clang/lib/Testing/CommandLineArgs.cpp @@ -37,6 +37,9 @@ std::vector<std::string> getCommandLineArgsForTesting(TestLanguage Lang) { case Lang_CXX20: Args = {"-std=c++20", "-frtti"}; break; + case Lang_CXX23: + Args = {"-std=c++23", "-frtti"}; + break; case Lang_OBJC: Args = {"-x", "objective-c", "-frtti", "-fobjc-nonfragile-abi"}; break; @@ -73,6 +76,9 @@ std::vector<std::string> getCC1ArgsForTesting(TestLanguage Lang) { case Lang_CXX20: Args = {"-std=c++20"}; break; + case Lang_CXX23: + Args = {"-std=c++23"}; + break; case Lang_OBJC: Args = {"-xobjective-c"}; break; @@ -96,6 +102,7 @@ StringRef getFilenameForTesting(TestLanguage Lang) { case Lang_CXX14: case Lang_CXX17: case Lang_CXX20: + case Lang_CXX23: return "input.cc"; case Lang_OpenCL: |
