[cfe-commits] r90053 - /cfe/trunk/include/clang/Frontend/LangStandard.h
Daniel Dunbar
daniel at zuster.org
Sat Nov 28 18:38:55 PST 2009
Author: ddunbar
Date: Sat Nov 28 20:38:55 2009
New Revision: 90053
URL: http://llvm.org/viewvc/llvm-project?rev=90053&view=rev
Log:
Add missing accessors.
Modified:
cfe/trunk/include/clang/Frontend/LangStandard.h
Modified: cfe/trunk/include/clang/Frontend/LangStandard.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/LangStandard.h?rev=90053&r1=90052&r2=90053&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/LangStandard.h (original)
+++ cfe/trunk/include/clang/Frontend/LangStandard.h Sat Nov 28 20:38:55 2009
@@ -44,6 +44,12 @@
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; }
More information about the cfe-commits
mailing list