diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-11-29 02:38:55 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-29 02:38:55 +0000 |
| commit | 6e227ca836205697f9d8bfd2f6ce93e323830404 (patch) | |
| tree | dbf3f8023b3046e63a06bf249007d859cb1d9b39 /clang | |
| parent | 75fa84ebc61c578d57860bf437ba9609bc280ae8 (diff) | |
| download | bcm5719-llvm-6e227ca836205697f9d8bfd2f6ce93e323830404.tar.gz bcm5719-llvm-6e227ca836205697f9d8bfd2f6ce93e323830404.zip | |
Add missing accessors.
llvm-svn: 90053
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Frontend/LangStandard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/include/clang/Frontend/LangStandard.h b/clang/include/clang/Frontend/LangStandard.h index 1442cb64e22..441d34f5a38 100644 --- a/clang/include/clang/Frontend/LangStandard.h +++ b/clang/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; } |

