Clang currently looks through casts to find out if the class it is
calling a method of is final, but then forgets to look again when
actually producing the direct call.

The attached patch fixes it, but I had to code a method for finding
the corresponding method in a derived class. I assume something like
this already exists somewhere (for building vtables for example), but
I could not find it.

Cheers,
Rafael

Attachment: t.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to