Lines Matching refs:LangStd
972 LangStandard::Kind LangStd) {
985 if (LangStd == LangStandard::lang_unspecified) {
993 LangStd = LangStandard::lang_opencl;
996 LangStd = LangStandard::lang_cuda;
1003 LangStd = LangStandard::lang_gnu99;
1009 LangStd = LangStandard::lang_gnucxx98;
1014 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1028 if (LangStd == LangStandard::lang_opencl) {
1032 else if (LangStd == LangStandard::lang_opencl11) {
1036 else if (LangStd == LangStandard::lang_opencl12) {
1050 if (LangStd == LangStandard::lang_cuda)
1090 LangStandard::Kind LangStd = LangStandard::lang_unspecified;
1092 LangStd = llvm::StringSwitch<LangStandard::Kind>(A->getValue())
1097 if (LangStd == LangStandard::lang_unspecified)
1102 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1151 LangStd = OpenCLLangStd;
1154 CompilerInvocation::setLangDefaults(Opts, IK, LangStd);