Hello! The attached patch addresses http://llvm.org/bugs/show_bug.cgi?id=13824. It emits a warning if reinterpret_cast is actually used to perform an upcast or a downcast which might lead to segfault in some cases.
Review please! Suggestions for warning text structure and wording are welcome!
13824.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
