Home
last modified time | relevance | path

Searched refs:LangStandard (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Frontend/
DLangStandards.cpp17 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()
DCompilerInvocation.cpp1176 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 …]
/external/clang/include/clang/Frontend/
DLangStandard.h39 struct LangStandard { struct
94 static const LangStandard &getLangStandardForKind(Kind K); argument
95 static const LangStandard *getLangStandardForName(StringRef Name);
DCompilerInvocation.h158 LangStandard::Kind LangStd = LangStandard::lang_unspecified);
/external/lldb/source/Symbol/
DClangASTContext.cpp118 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()