10 #ifndef LLVM_CLANG_FRONTEND_LANGSTANDARD_H 11 #define LLVM_CLANG_FRONTEND_LANGSTANDARD_H 15 #include "llvm/ADT/StringRef.h" 44 #define LANGSTANDARD(id, name, lang, desc, features) \ 46 #include "clang/Frontend/LangStandards.def" 57 const char *
getName()
const {
return ShortName; }
109 static const LangStandard *getLangStandardForName(StringRef Name);
LangStandard - Information about the properties of a particular language standard.
bool hasDigraphs() const
hasDigraphs - Language supports digraphs.
InputKind::Language getLanguage() const
Get the language that this standard describes.
bool isCPlusPlus14() const
isCPlusPlus14 - Language is a C++14 variant (or later).
bool hasLineComments() const
Language supports '//' comments.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
bool isOpenCL() const
isOpenCL - Language is a OpenCL variant.
bool isCPlusPlus2a() const
isCPlusPlus2a - Language is a post-C++17 variant (or later).
bool isCPlusPlus() const
isCPlusPlus - Language is a C++ variant.
const char * getName() const
getName - Get the name of this standard.
bool isCPlusPlus11() const
isCPlusPlus11 - Language is a C++11 variant (or later).
bool hasImplicitInt() const
hasImplicitInt - Language allows variables to be typed as int implicitly.
bool isC11() const
isC11 - Language is a superset of C11.
bool hasHexFloats() const
hasHexFloats - Language supports hexadecimal float constants.
InputKind::Language Language
Dataflow Directional Tag Classes.
bool isC17() const
isC17 - Language is a superset of C17.
bool isGNUMode() const
isGNUMode - Language includes GNU extensions.
bool isC99() const
isC99 - Language is a superset of C99.
bool isCPlusPlus17() const
isCPlusPlus17 - Language is a C++17 variant (or later).
const char * getDescription() const
getDescription - Get the description of this standard.