10 #ifndef LLVM_CLANG_FRONTEND_LANGSTANDARD_H
11 #define LLVM_CLANG_FRONTEND_LANGSTANDARD_H
14 #include "llvm/ADT/StringRef.h"
41 #define LANGSTANDARD(id, name, desc, features) \
43 #include "clang/Frontend/LangStandards.def"
LangStandard - Information about the properties of a particular language standard.
bool isGNUMode() const
isGNUMode - Language includes GNU extensions.
bool hasLineComments() const
Language supports '//' comments.
static const LangStandard & getLangStandardForKind(Kind K)
const char * getDescription() const
getDescription - Get the description of this standard.
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
bool isCPlusPlus11() const
isCPlusPlus11 - Language is a C++11 variant (or later).
bool isCPlusPlus() const
isCPlusPlus - Language is a C++ variant.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
const char * getName() const
getName - Get the name of this standard.
bool isCPlusPlus14() const
isCPlusPlus14 - Language is a C++14 variant (or later).
bool hasDigraphs() const
hasDigraphs - Language supports digraphs.
bool isCPlusPlus1z() const
isCPlusPlus1z - Language is a C++17 variant (or later).
bool isC89() const
isC89 - Language is a superset of C89.
bool hasImplicitInt() const
hasImplicitInt - Language allows variables to be typed as int implicitly.
bool isC99() const
isC99 - Language is a superset of C99.
bool isC11() const
isC11 - Language is a superset of C11.
static const LangStandard * getLangStandardForName(StringRef Name)
bool hasHexFloats() const
hasHexFloats - Language supports hexadecimal float constants.