Searched refs:LangStandard (Results 1 – 6 of 6) sorted by relevance
17 static const LangStandard Lang_##id = { name, desc, features };20 const LangStandard &LangStandard::getLangStandardForKind(Kind K) { in getLangStandardForKind()31 const LangStandard *LangStandard::getLangStandardForName(StringRef Name) { in getLangStandardForName()
1464 bool isOpenCL(LangStandard::Kind LangStd) { in isOpenCL()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()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 …]
39 struct LangStandard { struct94 static const LangStandard &getLangStandardForKind(Kind K); argument95 static const LangStandard *getLangStandardForName(StringRef Name);
162 LangStandard::Kind LangStd = LangStandard::lang_unspecified);
93 clang::LangStandard::Kind std) { in set_lang_defaults()
131 clang::LangStandard::lang_opencl11); in create_compiler_instance()