clang 20.0.0git
|
A Clang configuration for end-to-end tests that can be converted to command line arguments for the driver. More...
#include "clang/Testing/TestClangConfig.h"
Public Member Functions | |
bool | isC () const |
bool | isC99OrLater () const |
bool | isCXX () const |
bool | isCXX11OrLater () const |
bool | isCXX14OrLater () const |
bool | isCXX17OrLater () const |
bool | isCXX20OrLater () const |
bool | isCXX23OrLater () const |
bool | supportsCXXDynamicExceptionSpecification () const |
bool | hasDelayedTemplateParsing () const |
std::vector< std::string > | getCommandLineArgs () const |
std::string | toString () const |
Public Attributes | |
TestLanguage | Language |
std::string | Target |
The argument of the -target command line flag. | |
Friends | |
std::ostream & | operator<< (std::ostream &OS, const TestClangConfig &ClangConfig) |
A Clang configuration for end-to-end tests that can be converted to command line arguments for the driver.
The configuration is represented as typed, named values, making it easier and safer to work with compared to an array of string command line flags.
Definition at line 24 of file TestClangConfig.h.
|
inline |
Definition at line 71 of file TestClangConfig.h.
References clang::getCommandLineArgsForTesting(), and clang::Result.
|
inline |
Definition at line 67 of file TestClangConfig.h.
|
inline |
Definition at line 30 of file TestClangConfig.h.
References clang::Lang_C89, and clang::Lang_C99.
|
inline |
Definition at line 32 of file TestClangConfig.h.
References clang::Lang_C99.
|
inline |
Definition at line 34 of file TestClangConfig.h.
References clang::Lang_CXX03, clang::Lang_CXX11, clang::Lang_CXX14, clang::Lang_CXX17, clang::Lang_CXX20, and clang::Lang_CXX23.
|
inline |
Definition at line 40 of file TestClangConfig.h.
References clang::Lang_CXX11, clang::Lang_CXX14, clang::Lang_CXX17, clang::Lang_CXX20, and clang::Lang_CXX23.
|
inline |
Definition at line 46 of file TestClangConfig.h.
References clang::Lang_CXX14, clang::Lang_CXX17, clang::Lang_CXX20, and clang::Lang_CXX23.
|
inline |
Definition at line 51 of file TestClangConfig.h.
References clang::Lang_CXX17, clang::Lang_CXX20, and clang::Lang_CXX23.
|
inline |
Definition at line 56 of file TestClangConfig.h.
References clang::Lang_CXX20, and clang::Lang_CXX23.
|
inline |
Definition at line 60 of file TestClangConfig.h.
References clang::Lang_CXX23.
|
inline |
Definition at line 62 of file TestClangConfig.h.
References clang::Lang_CXX03, clang::Lang_CXX11, and clang::Lang_CXX14.
|
inline |
Definition at line 78 of file TestClangConfig.h.
References clang::Result.
|
friend |
Definition at line 85 of file TestClangConfig.h.
TestLanguage clang::TestClangConfig::Language |
Definition at line 25 of file TestClangConfig.h.
std::string clang::TestClangConfig::Target |
The argument of the -target
command line flag.
Definition at line 28 of file TestClangConfig.h.