Add missing accessors.

llvm-svn: 90053
This commit is contained in:
Daniel Dunbar 2009-11-29 02:38:55 +00:00
parent 75fa84ebc6
commit 6e227ca836
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,12 @@ struct LangStandard {
unsigned Flags; unsigned Flags;
public: 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. /// hasBCPLComments - Language supports '//' comments.
bool hasBCPLComments() const { return Flags & frontend::BCPLComment; } bool hasBCPLComments() const { return Flags & frontend::BCPLComment; }