10 #ifndef LLVM_CLANG_FRONTEND_LANGSTANDARD_H
11 #define LLVM_CLANG_FRONTEND_LANGSTANDARD_H
15 #include "llvm/ADT/StringRef.h"
43 #define LANGSTANDARD(id, name, lang, desc, features) \
45 #include "clang/Frontend/LangStandards.def"
56 const char *
getName()
const {
return ShortName; }
LangStandard - Information about the properties of a particular language standard.
bool isGNUMode() const
isGNUMode - Language includes GNU extensions.
bool hasLineComments() const
Language supports '//' comments.
const char * getDescription() const
getDescription - Get the description of this standard.
InputKind::Language getLanguage() const
Get the language that this standard describes.
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 isOpenCL() const
isOpenCL - Language is a OpenCL variant.
bool hasDigraphs() const
hasDigraphs - Language supports digraphs.
bool isCPlusPlus2a() const
isCPlusPlus2a - Language is a post-C++17 variant (or later).
bool isCPlusPlus1z() const
isCPlusPlus1z - Language is a C++17 variant (or later).
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.
InputKind::Language Language
bool hasHexFloats() const
hasHexFloats - Language supports hexadecimal float constants.