Searched refs:LangStd (Results 1 – 6 of 6) sorted by relevance
94 const LangStandard *LangStd = nullptr; in ConstructJob() local98 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()
1464 bool isOpenCL(LangStandard::Kind LangStd) { in isOpenCL() argument1465 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() argument1487 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 …]
2334 LangStandard::Kind LangStd) { in setLangDefaults() argument2348 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 …]
162 LangStandard::Kind LangStd = LangStandard::lang_unspecified);
183 LangStandard::Kind LangStd = LangStandard::lang_unspecified);
470 LangStandard::Kind LangStd = LangStandard::lang_unspecified; in ParseLangArgs() local472 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()