aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:
///