summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-30 12:48:36 +0000
committertheraven <theraven@FreeBSD.org>2012-03-30 12:48:36 +0000
commit45fee485324464c97114d0404268a8048ef37add (patch)
treecee672d3396f798d39b4502a02012c72677d2a9b
parentbd3242adc91c502a5d9ba535c9bba5d1f97c4f8f (diff)
downloadFreeBSD-src-45fee485324464c97114d0404268a8048ef37add.zip
FreeBSD-src-45fee485324464c97114d0404268a8048ef37add.tar.gz
Undo the earlier revert of the ABI change in libsupc++. On further discussion,
posting an errata notice with 9.1 is the less painful solution. Approved by: dim (mentor)
-rw-r--r--contrib/libstdc++/libsupc++/typeinfo12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libstdc++/libsupc++/typeinfo b/contrib/libstdc++/libsupc++/typeinfo
index 1a9c791..cddb65e 100644
--- a/contrib/libstdc++/libsupc++/typeinfo
+++ b/contrib/libstdc++/libsupc++/typeinfo
@@ -100,6 +100,12 @@ 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
@@ -113,12 +119,6 @@ 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;
OpenPOWER on IntegriCloud