diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-07 23:08:23 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-07 23:08:23 +0000 |
commit | cf48439062da095caf46e3cbf672f3e3460543f8 (patch) | |
tree | 52566fdbb0b084676aa3532c776e0d3c48a44aae /gcc/cp/cp-objcp-common.c | |
parent | 4704b74336299aa76d106eb0b79897ee915c85cf (diff) | |
download | gcc-cf48439062da095caf46e3cbf672f3e3460543f8.tar.gz |
2007-04-07 Daniel Berlin <dberlin@dberlin.org>
Revert change removing staticp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-objcp-common.c')
-rw-r--r-- | gcc/cp/cp-objcp-common.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/cp/cp-objcp-common.c b/gcc/cp/cp-objcp-common.c index f74c60ae527..af8eb94cf49 100644 --- a/gcc/cp/cp-objcp-common.c +++ b/gcc/cp/cp-objcp-common.c @@ -200,6 +200,21 @@ cxx_types_compatible_p (tree x, tree y) return 0; } +tree +cxx_staticp (tree arg) +{ + switch (TREE_CODE (arg)) + { + case BASELINK: + return staticp (BASELINK_FUNCTIONS (arg)); + + default: + break; + } + + return NULL_TREE; +} + /* Stubs to keep c-opts.c happy. */ void push_file_scope (void) |