Skip to content
Commit 69a10f46 authored by Howard Hinnant's avatar Howard Hinnant
Browse files

Removing a TODO: can_catch is fundamentally different than search_above_dst. ...

Removing a TODO:  can_catch is fundamentally different than search_above_dst.  can_catch is looking for an unamiguous public base class of a specific type, but at any address.  search_above_dst is looking for an unambiguous public base class of a specific type, *and* at a specific address.  Additionally can_catch is run for all types.  search_above_dst is only run on class types.  So these are only superficially similar.  Not similar enough for resuse, at least without making the code unreadable.

llvm-svn: 149522
parent e273cb08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment