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.cpp929 LangStandard::Kind LangStd) { in setLangDefaults()
942 if (LangStd == LangStandard::lang_unspecified) { in setLangDefaults()
950 LangStd = LangStandard::lang_opencl; in setLangDefaults()
953 LangStd = LangStandard::lang_cuda; in setLangDefaults()
960 LangStd = LangStandard::lang_gnu99; in setLangDefaults()
966 LangStd = LangStandard::lang_gnucxx98; in setLangDefaults()
971 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in setLangDefaults()
985 if (LangStd == LangStandard::lang_opencl) { in setLangDefaults()
989 else if (LangStd == LangStandard::lang_opencl11) { in setLangDefaults()
993 else if (LangStd == LangStandard::lang_opencl12) { in setLangDefaults()
[all …]
/external/clang/include/clang/Frontend/
DLangStandard.h38 struct LangStandard { struct
90 static const LangStandard &getLangStandardForKind(Kind K); argument
91 static const LangStandard *getLangStandardForName(StringRef Name);
DCompilerInvocation.h155 LangStandard::Kind LangStd = LangStandard::lang_unspecified);