#include "clang/Testing/CommandLineArgs.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/Testing/TestLanguage.def"
Go to the source code of this file.
|
namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI.
|
|
|
#define | TESTLANGUAGE_C(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_CXX(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_C(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_CXX(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_C(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_CXX(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_C(lang, version, std_flag, version_index) |
|
#define | TESTLANGUAGE_CXX(lang, version, std_flag, version_index) |
|
◆ TESTLANGUAGE_C [1/4]
#define TESTLANGUAGE_C |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: if (version >= MinimumStd) \
Result.push_back(Lang_##lang##version);
◆ TESTLANGUAGE_C [2/4]
#define TESTLANGUAGE_C |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: case Lang_##lang##version: \
return { "-x", "c", "-std=" #std_flag };
◆ TESTLANGUAGE_C [3/4]
#define TESTLANGUAGE_C |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: case Lang_##lang##version: \
return { "-xc", "-std=" #std_flag };
◆ TESTLANGUAGE_C [4/4]
#define TESTLANGUAGE_C |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: case Lang_##lang##version: \
return "input.c";
◆ TESTLANGUAGE_CXX [1/4]
#define TESTLANGUAGE_CXX |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: if (version >= MinimumStd) \
Result.push_back(Lang_##lang##version);
◆ TESTLANGUAGE_CXX [2/4]
#define TESTLANGUAGE_CXX |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: case Lang_##lang##version: \
return { "-std=" #std_flag, "-frtti" };
◆ TESTLANGUAGE_CXX [3/4]
#define TESTLANGUAGE_CXX |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: case Lang_##lang##version: \
return { "-std=" #std_flag };
◆ TESTLANGUAGE_CXX [4/4]
#define TESTLANGUAGE_CXX |
( |
|
lang, |
|
|
|
version, |
|
|
|
std_flag, |
|
|
|
version_index |
|
) |
| |
Value: case Lang_##lang##version: \
return "input.cc";