]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/clang/include/clang/Testing/CommandLineArgs.h
Merge ^/head r363583 through r364040.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / clang / include / clang / Testing / CommandLineArgs.h
1 //===--- CommandLineArgs.h ------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 //  This file defines language options for Clang unittests.
10 //
11 //===----------------------------------------------------------------------===//
12
13 #ifndef LLVM_CLANG_TESTING_COMMANDLINEARGS_H
14 #define LLVM_CLANG_TESTING_COMMANDLINEARGS_H
15
16 #include "clang/Basic/LLVM.h"
17 #include "llvm/ADT/StringRef.h"
18 #include <string>
19 #include <vector>
20
21 namespace clang {
22
23 enum TestLanguage {
24   Lang_C89,
25   Lang_C99,
26   Lang_CXX03,
27   Lang_CXX11,
28   Lang_CXX14,
29   Lang_CXX17,
30   Lang_CXX20,
31   Lang_OpenCL,
32   Lang_OBJCXX
33 };
34
35 std::vector<std::string> getCommandLineArgsForTesting(TestLanguage Lang);
36
37 StringRef getFilenameForTesting(TestLanguage Lang);
38
39 } // end namespace clang
40
41 #endif