[cfe-commits] r71174 - /cfe/trunk/include/clang/Parse/DeclSpec.h
Anders Carlsson
andersca at mac.com
Thu May 7 12:41:51 PDT 2009
Author: andersca
Date: Thu May 7 14:41:51 2009
New Revision: 71174
URL: http://llvm.org/viewvc/llvm-project?rev=71174&view=rev
Log:
add isFriendSpecified.
Modified:
cfe/trunk/include/clang/Parse/DeclSpec.h
Modified: cfe/trunk/include/clang/Parse/DeclSpec.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/DeclSpec.h?rev=71174&r1=71173&r2=71174&view=diff
==============================================================================
--- cfe/trunk/include/clang/Parse/DeclSpec.h (original)
+++ cfe/trunk/include/clang/Parse/DeclSpec.h Thu May 7 14:41:51 2009
@@ -283,7 +283,8 @@
bool SetFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec);
bool SetFriendSpec(SourceLocation Loc, const char *&PrevSpec);
-
+ bool isFriendSpecified() const { return Friend_specified; }
+
/// AddAttributes - contatenates two attribute lists.
/// The GCC attribute syntax allows for the following:
///
More information about the cfe-commits
mailing list