Home
last modified time | relevance | path

Searched refs:LangStd (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/lib/Driver/ToolChains/
DSolaris.cpp94 const LangStandard *LangStd = nullptr; in ConstructJob() local
98 LangStd = LangStandard::getLangStandardForName(Std->getValue()); in ConstructJob()
103 if (HaveAnsi || (LangStd && !LangStd->isGNUMode())) in ConstructJob()
109 if (LangStd && LangStd->getLanguage() == Language::C && !LangStd->isC99()) in ConstructJob()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp1464 bool isOpenCL(LangStandard::Kind LangStd) { in isOpenCL() argument
1465 return LangStd == LangStandard::lang_opencl || in isOpenCL()
1466 LangStd == LangStandard::lang_opencl11 || in isOpenCL()
1467 LangStd == LangStandard::lang_opencl12 || in isOpenCL()
1468 LangStd == LangStandard::lang_opencl20; in isOpenCL()
1474 LangStandard::Kind LangStd) { in setLangDefaults() argument
1487 if (LangStd == LangStandard::lang_unspecified) { in setLangDefaults()
1495 LangStd = LangStandard::lang_opencl; in setLangDefaults()
1499 LangStd = LangStandard::lang_cuda; in setLangDefaults()
1508 LangStd = LangStandard::lang_gnu99; in setLangDefaults()
[all …]
/external/llvm-project/clang/lib/Frontend/
DCompilerInvocation.cpp2334 LangStandard::Kind LangStd) { in setLangDefaults() argument
2348 if (LangStd == LangStandard::lang_unspecified) { in setLangDefaults()
2355 LangStd = LangStandard::lang_opencl10; in setLangDefaults()
2358 LangStd = LangStandard::lang_cuda; in setLangDefaults()
2363 LangStd = CLANG_DEFAULT_STD_C; in setLangDefaults()
2367 LangStd = LangStandard::lang_gnu99; in setLangDefaults()
2369 LangStd = LangStandard::lang_gnu17; in setLangDefaults()
2374 LangStd = CLANG_DEFAULT_STD_C; in setLangDefaults()
2376 LangStd = LangStandard::lang_gnu11; in setLangDefaults()
2382 LangStd = CLANG_DEFAULT_STD_CXX; in setLangDefaults()
[all …]
/external/clang/include/clang/Frontend/
DCompilerInvocation.h162 LangStandard::Kind LangStd = LangStandard::lang_unspecified);
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInvocation.h183 LangStandard::Kind LangStd = LangStandard::lang_unspecified);
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp470 LangStandard::Kind LangStd = LangStandard::lang_unspecified; in ParseLangArgs() local
472 if (LangStd == LangStandard::lang_unspecified) { in ParseLangArgs()
480 LangStd = LangStandard::lang_opencl10; in ParseLangArgs()
483 LangStd = LangStandard::lang_cuda; in ParseLangArgs()
488 LangStd = LangStandard::lang_gnu99; in ParseLangArgs()
492 LangStd = LangStandard::lang_gnucxx98; in ParseLangArgs()
495 LangStd = LangStandard::lang_hip; in ParseLangArgs()
500 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in ParseLangArgs()
514 if (LangStd == LangStandard::lang_opencl10) { in ParseLangArgs()