File indexing completed on 2026-05-10 08:37:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef LLVM_CLANG_TESTING_COMMANDLINEARGS_H
0014 #define LLVM_CLANG_TESTING_COMMANDLINEARGS_H
0015
0016 #include "clang/Basic/LLVM.h"
0017 #include "llvm/ADT/StringRef.h"
0018 #include <string>
0019 #include <vector>
0020
0021 namespace clang {
0022
0023 enum TestLanguage {
0024 #define TESTLANGUAGE(lang, version, std_flag, version_index) \
0025 Lang_##lang##version,
0026 #include "clang/Testing/TestLanguage.def"
0027
0028 Lang_OpenCL,
0029 Lang_OBJC,
0030 Lang_OBJCXX,
0031 };
0032
0033 std::vector<TestLanguage> getCOrLater(int MinimumStd);
0034 std::vector<TestLanguage> getCXXOrLater(int MinimumStd);
0035
0036 std::vector<std::string> getCommandLineArgsForTesting(TestLanguage Lang);
0037 std::vector<std::string> getCC1ArgsForTesting(TestLanguage Lang);
0038
0039 StringRef getFilenameForTesting(TestLanguage Lang);
0040
0041
0042
0043
0044 std::string getAnyTargetForTesting();
0045
0046 }
0047
0048 #endif