From: Daniel Dunbar Date: Sun, 29 Nov 2009 02:38:55 +0000 (+0000) Subject: Add missing accessors. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb435102b1632cc0ea8ebdef66099aff082b7d63;p=clang Add missing accessors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90053 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }