diff options
author | Jason Merrill <jason@redhat.com> | 2016-02-15 16:14:05 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-02-15 16:14:05 -0500 |
commit | 2bd0a2d6b1b823008e36e1a5833cf520c3807ecc (patch) | |
tree | 2e45a14353f0c3873d716c8fe004c3189dbf32fa /gcc/cp/tree.c | |
parent | fe69277d6650978749d17d11f488230cee1b2ad9 (diff) | |
download | gcc-2bd0a2d6b1b823008e36e1a5833cf520c3807ecc.zip gcc-2bd0a2d6b1b823008e36e1a5833cf520c3807ecc.tar.gz gcc-2bd0a2d6b1b823008e36e1a5833cf520c3807ecc.tar.bz2 |
re PR c++/69753 (bogus: expected primary-expression before ‘>’ token)
PR c++/69753
* search.c (any_dependent_bases_p): Split out...
* name-lookup.c (do_class_using_decl): ...from here.
* call.c (build_new_method_call_1): Don't complain about missing object
if there are dependent bases. Tweak error.
* tree.c (non_static_member_function_p): Remove.
* pt.c (type_dependent_expression_p): A member template of a
dependent type is dependent.
* cp-tree.h: Adjust.
From-SVN: r233431
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 3203aca..041facd 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2071,23 +2071,6 @@ ovl_scope (tree ovl) ovl = OVL_CHAIN (ovl); return CP_DECL_CONTEXT (OVL_CURRENT (ovl)); } - -/* Return TRUE if FN is a non-static member function, FALSE otherwise. - This function looks into BASELINK and OVERLOAD nodes. */ - -bool -non_static_member_function_p (tree fn) -{ - if (fn == NULL_TREE) - return false; - - if (is_overloaded_fn (fn)) - fn = get_first_fn (fn); - - return (DECL_P (fn) - && DECL_NONSTATIC_MEMBER_FUNCTION_P (fn)); -} - #define PRINT_RING_SIZE 4 |