diff options
author | theraven <theraven@FreeBSD.org> | 2012-03-23 20:10:56 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-03-23 20:10:56 +0000 |
commit | 87fac25d6d66ef85f1e63c7b6f6e83c9a7a2aa8f (patch) | |
tree | 71e6c1b42daf4c0daac1ddc0dd64d27b4ff6e65c /contrib/libstdc++/libsupc++ | |
parent | 8e028fbf31751757b45573708b6f73085e0db4a9 (diff) | |
download | FreeBSD-src-87fac25d6d66ef85f1e63c7b6f6e83c9a7a2aa8f.zip FreeBSD-src-87fac25d6d66ef85f1e63c7b6f6e83c9a7a2aa8f.tar.gz |
Revert ABI breakage in libsupc++.
Unfortunately, the ABI was broken upstream for the 4.2 release, which we
imported. We then shipped the broken version for several years and certain
ports (e.g. libobjc2) depend on it, so we're stuck with it for now...
We should revisit this for 10.0, since we're allowed to break the ABI then, but
until then we should keep the ABI we shipped with 8.x and 9.x.
Reviewed by: kan
Approved by: dim (mentor)
MFC after: 1 week
Diffstat (limited to 'contrib/libstdc++/libsupc++')
-rw-r--r-- | contrib/libstdc++/libsupc++/typeinfo | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libstdc++/libsupc++/typeinfo b/contrib/libstdc++/libsupc++/typeinfo index cddb65e..1a9c791 100644 --- a/contrib/libstdc++/libsupc++/typeinfo +++ b/contrib/libstdc++/libsupc++/typeinfo @@ -100,12 +100,6 @@ namespace std bool operator!=(const type_info& __arg) const { return !operator==(__arg); } - // Return true if this is a pointer type of some kind - virtual bool __is_pointer_p() const; - - // Return true if this is a function type - virtual bool __is_function_p() const; - // Try and catch a thrown type. Store an adjusted pointer to the // caught type in THR_OBJ. If THR_TYPE is not a pointer type, then // THR_OBJ points to the thrown object. If THR_TYPE is a pointer @@ -119,6 +113,12 @@ namespace std virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const; + // Return true if this is a pointer type of some kind + virtual bool __is_pointer_p() const; + + // Return true if this is a function type + virtual bool __is_function_p() const; + protected: const char *__name; |