clang 20.0.0git
Classes | Namespaces | Macros
TestClangConfig.h File Reference
#include "clang/Testing/CommandLineArgs.h"
#include "llvm/Support/raw_ostream.h"
#include <string>
#include <vector>
#include "clang/Testing/TestLanguage.def"

Go to the source code of this file.

Classes

struct  clang::TestClangConfig
 A Clang configuration for end-to-end tests that can be converted to command line arguments for the driver. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Macros

#define TESTLANGUAGE_C(lang, version, std_flag, version_index)    || Language == Lang_##lang##version
 
#define TESTLANGUAGE_C(lang, version, std_flag, version_index)    || (Version == version && Language == Lang_##lang##version)
 
#define TESTLANGUAGE_C(lang, version, std_flag, version_index)    +(MinimumStdVersion == version ? version_index : 0)
 
#define TESTLANGUAGE_C(lang, version, std_flag, version_index)
 
#define TESTLANGUAGE_CXX(lang, version, std_flag, version_index)    || Language == Lang_##lang##version
 
#define TESTLANGUAGE_CXX(lang, version, std_flag, version_index)    || (Version == version && Language == Lang_##lang##version)
 
#define TESTLANGUAGE_CXX(lang, version, std_flag, version_index)    +(MinimumStdVersion == version ? version_index : 0)
 
#define TESTLANGUAGE_CXX(lang, version, std_flag, version_index)
 
#define TESTLANGUAGE(lang, version, std_flag, version_index)
 

Macro Definition Documentation

◆ TESTLANGUAGE

#define TESTLANGUAGE (   lang,
  version,
  std_flag,
  version_index 
)
Value:
case Lang_##lang##version: \
OS << (#lang #version); \
break;

◆ TESTLANGUAGE_C [1/4]

#define TESTLANGUAGE_C (   lang,
  version,
  std_flag,
  version_index 
)     || Language == Lang_##lang##version

◆ TESTLANGUAGE_C [2/4]

#define TESTLANGUAGE_C (   lang,
  version,
  std_flag,
  version_index 
)     || (Version == version && Language == Lang_##lang##version)

◆ TESTLANGUAGE_C [3/4]

#define TESTLANGUAGE_C (   lang,
  version,
  std_flag,
  version_index 
)     +(MinimumStdVersion == version ? version_index : 0)

◆ TESTLANGUAGE_C [4/4]

#define TESTLANGUAGE_C (   lang,
  version,
  std_flag,
  version_index 
)
Value:
case Lang_##lang##version: \
return MinimumStdVersionIndex <= version_index;

◆ TESTLANGUAGE_CXX [1/4]

#define TESTLANGUAGE_CXX (   lang,
  version,
  std_flag,
  version_index 
)     || Language == Lang_##lang##version

◆ TESTLANGUAGE_CXX [2/4]

#define TESTLANGUAGE_CXX (   lang,
  version,
  std_flag,
  version_index 
)     || (Version == version && Language == Lang_##lang##version)

◆ TESTLANGUAGE_CXX [3/4]

#define TESTLANGUAGE_CXX (   lang,
  version,
  std_flag,
  version_index 
)     +(MinimumStdVersion == version ? version_index : 0)

◆ TESTLANGUAGE_CXX [4/4]

#define TESTLANGUAGE_CXX (   lang,
  version,
  std_flag,
  version_index 
)
Value:
case Lang_##lang##version: \
return MinimumStdVersionIndex <= version_index;