Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-02-02 01:06:46 +0400
committerHoward Hinnant <hhinnant@apple.com>2012-02-02 01:06:46 +0400
commit089123e65fc9fe64e8aa568cf7c2c01cd437d03d (patch)
treec83d0069c175464113db3babe8aec117084c5f91 /libcxxabi/src/private_typeinfo.h
parentc325fa770566c6d6b3111cbaf5fa4b52a8c2e46b (diff)
Remove a TODO regarding where some can_catch are implemented. I opted to make can_catch pure virtual in the top __shim_type_info, and have each sub-class implement its own. There are some repeated definitions, but they are trivial.
llvm-svn: 149537
Diffstat (limited to 'libcxxabi/src/private_typeinfo.h')
-rw-r--r--libcxxabi/src/private_typeinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/private_typeinfo.h b/libcxxabi/src/private_typeinfo.h
index 0569243f3b91..87472fc95c1d 100644
--- a/libcxxabi/src/private_typeinfo.h
+++ b/libcxxabi/src/private_typeinfo.h
@@ -24,7 +24,7 @@ class __shim_type_info
public:
virtual ~__shim_type_info();
- virtual bool can_catch(const __shim_type_info* thrown_type, void*& adjustedPtr) const;
+ virtual bool can_catch(const __shim_type_info* thrown_type, void*& adjustedPtr) const = 0;
#ifdef DEBUG
virtual void display() const = 0;
#endif