aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-07 19:41:51 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-07 19:41:51 +0000
commit908116859ed8c166c1c0712992e504edd0c5a6e1 (patch)
treea2e4de70c58d2dc8f67b2f4c62124feb9cff16cc
parent2c4036eda90fad6d219d9f3fadbd9288fa197e89 (diff)
add isFriendSpecified.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71174 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Parse/DeclSpec.h3
1 files changed, 2 insertions, 1 deletions
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:
///