diff options
-rw-r--r-- | include/clang/Frontend/LangStandard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Frontend/LangStandard.h b/include/clang/Frontend/LangStandard.h index 1442cb64e2..441d34f5a3 100644 --- a/include/clang/Frontend/LangStandard.h +++ b/include/clang/Frontend/LangStandard.h @@ -44,6 +44,12 @@ struct LangStandard { unsigned Flags; public: + /// getName - Get the name of this standard. + const char *getName() const { return ShortName; } + + /// getDescription - Get the description of this standard. + const char *getDescription() const { return Description; } + /// hasBCPLComments - Language supports '//' comments. bool hasBCPLComments() const { return Flags & frontend::BCPLComment; } |