]> granicus.if.org Git - clang/commitdiff
add isFriendSpecified.
authorAnders Carlsson <andersca@mac.com>
Thu, 7 May 2009 19:41:51 +0000 (19:41 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 7 May 2009 19:41:51 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71174 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/DeclSpec.h

index fad3f1e6768f06d5b89c5906a2c406498b338b4e..9528298109a22dea94b05257b86deedc6b9e6a73 100644 (file)
@@ -283,7 +283,8 @@ public:
   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:
   ///