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 | fb435102b1632cc0ea8ebdef66099aff082b7d63 (patch) | |
tree | e6192e248ab16195c8268e7f03c2d10b81524cb3 | |
parent | 1b0969590e712d7d52fc9c0d43d3ab85c36d07a6 (diff) |
Add missing accessors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90053 91177308-0d34-0410-b5e6-96231b3b80d8
-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; } |