From: Anders Carlsson Date: Thu, 7 May 2009 19:41:51 +0000 (+0000) Subject: add isFriendSpecified. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=908116859ed8c166c1c0712992e504edd0c5a6e1;p=clang add isFriendSpecified. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71174 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Parse/DeclSpec.h b/include/clang/Parse/DeclSpec.h index fad3f1e676..9528298109 100644 --- a/include/clang/Parse/DeclSpec.h +++ b/include/clang/Parse/DeclSpec.h @@ -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: ///