Searched refs:LangStandard (Results 1 – 4 of 4) 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()
1286 LangStandard::Kind LangStd) { in setLangDefaults()1299 if (LangStd == LangStandard::lang_unspecified) { in setLangDefaults()1307 LangStd = LangStandard::lang_opencl; in setLangDefaults()1311 LangStd = LangStandard::lang_cuda; in setLangDefaults()1318 LangStd = LangStandard::lang_gnu11; in setLangDefaults()1324 LangStd = LangStandard::lang_gnucxx98; in setLangDefaults()1329 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in setLangDefaults()1344 Opts.OpenCL = LangStd == LangStandard::lang_opencl || IK == IK_OpenCL; in setLangDefaults()1345 if (LangStd == LangStandard::lang_opencl) in setLangDefaults()1347 else if (LangStd == LangStandard::lang_opencl11) in setLangDefaults()[all …]
39 struct LangStandard { struct94 static const LangStandard &getLangStandardForKind(Kind K); argument95 static const LangStandard *getLangStandardForName(StringRef Name);
158 LangStandard::Kind LangStd = LangStandard::lang_unspecified);