Home
last modified time | relevance | path

Searched refs:LangStandard (Results 1 – 4 of 4) 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.cpp1286 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 …]
/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);