Searched refs:LangStandard (Results 1 – 5 of 5) 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()
1176 LangStandard::Kind LangStd) { in setLangDefaults()1189 if (LangStd == LangStandard::lang_unspecified) { in setLangDefaults()1197 LangStd = LangStandard::lang_opencl; in setLangDefaults()1201 LangStd = LangStandard::lang_cuda; in setLangDefaults()1208 LangStd = LangStandard::lang_gnu11; in setLangDefaults()1214 LangStd = LangStandard::lang_gnucxx98; in setLangDefaults()1219 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in setLangDefaults()1234 Opts.OpenCL = LangStd == LangStandard::lang_opencl || IK == IK_OpenCL; in setLangDefaults()1235 if (LangStd == LangStandard::lang_opencl) in setLangDefaults()1237 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);
118 LangStandard::Kind LangStd = LangStandard::lang_unspecified; in ParseLangArgs()120 if (LangStd == LangStandard::lang_unspecified) { in ParseLangArgs()128 LangStd = LangStandard::lang_opencl; in ParseLangArgs()131 LangStd = LangStandard::lang_cuda; in ParseLangArgs()138 LangStd = LangStandard::lang_gnu99; in ParseLangArgs()144 LangStd = LangStandard::lang_gnucxx98; in ParseLangArgs()149 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in ParseLangArgs()163 if (LangStd == LangStandard::lang_opencl) { in ParseLangArgs()