clang 17.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 | 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 65 of file TestClangConfig.h.
References clang::getCommandLineArgsForTesting(), clang::Result, and Target.
|
inline |
Definition at line 61 of file TestClangConfig.h.
References Target.
|
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, and clang::Lang_CXX20.
|
inline |
Definition at line 40 of file TestClangConfig.h.
References clang::Lang_CXX11, clang::Lang_CXX14, clang::Lang_CXX17, and clang::Lang_CXX20.
|
inline |
Definition at line 45 of file TestClangConfig.h.
References clang::Lang_CXX14, clang::Lang_CXX17, and clang::Lang_CXX20.
|
inline |
Definition at line 50 of file TestClangConfig.h.
References clang::Lang_CXX17, and clang::Lang_CXX20.
|
inline |
Definition at line 54 of file TestClangConfig.h.
References clang::Lang_CXX20.
|
inline |
Definition at line 56 of file TestClangConfig.h.
References clang::Lang_CXX03, clang::Lang_CXX11, and clang::Lang_CXX14.
|
inline |
Definition at line 72 of file TestClangConfig.h.
References OS, clang::Result, and Target.
|
friend |
Definition at line 79 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.
Referenced by getCommandLineArgs(), hasDelayedTemplateParsing(), and toString().