Home | History | Annotate | Download | only in Frontend

Lines Matching refs:LangStd

1093                                          LangStandard::Kind LangStd) {
1106 if (LangStd == LangStandard::lang_unspecified) {
1114 LangStd = LangStandard::lang_opencl;
1117 LangStd = LangStandard::lang_cuda;
1124 LangStd = LangStandard::lang_gnu99;
1130 LangStd = LangStandard::lang_gnucxx98;
1135 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1150 Opts.OpenCL = LangStd == LangStandard::lang_opencl || IK == IK_OpenCL;
1151 if (LangStd == LangStandard::lang_opencl)
1153 else if (LangStd == LangStandard::lang_opencl11)
1155 else if (LangStd == LangStandard::lang_opencl12)
1167 Opts.CUDA = LangStd == LangStandard::lang_cuda || IK == IK_CUDA;
1267 LangStandard::Kind LangStd = LangStandard::lang_unspecified;
1269 LangStd = llvm::StringSwitch<LangStandard::Kind>(A->getValue())
1274 if (LangStd == LangStandard::lang_unspecified)
1280 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1329 LangStd = OpenCLLangStd;
1332 CompilerInvocation::setLangDefaults(Opts, IK, LangStd);