llvm-project/clang/lib
John McCall 82fb892019 When performing a ::delete of an object with a virtual destructor,
be sure to delete the complete object pointer, not the original
pointer.  This is necessary if the base being deleted is at a
non-zero offset in the complete object.  This is only required
for objects with virtual destructors because deleting an object
via a base-class subobject when the base does not have a virtual
destructor is undefined behavior.

Noticed while reviewing the last four years of cxx-abi-dev
activity.

llvm-svn: 164597
2012-09-25 10:10:39 +00:00
..
ARCMigrate Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
AST Implement Mike Herrick's proposed noexcept mangling. 2012-09-25 09:10:17 +00:00
ASTMatchers Fix isDerivedFrom matcher. 2012-09-18 14:17:42 +00:00
Analysis Add clarifying comment. 2012-09-24 21:17:14 +00:00
Basic Use llvm::getOrdinalSuffix to print ordinal numbers in diagnostics. 2012-09-22 01:24:42 +00:00
CodeGen When performing a ::delete of an object with a virtual destructor, 2012-09-25 10:10:39 +00:00
Driver [analyzer] Really turn on dynamic-bifurcation on by default. 2012-09-24 17:43:47 +00:00
Edit Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
Frontend Allow disabling PCH validation when loading an AST file by checking 2012-09-15 01:10:20 +00:00
FrontendTool Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
Headers Add _rdrand{16,32,64}_step intrinsics to immintrin.h 2012-07-12 09:33:03 +00:00
Lex StringRef'ize Preprocessor::CreateString(). 2012-09-24 21:07:17 +00:00
Parse Add the Microsoft __is_interface_class type trait. 2012-09-25 07:32:49 +00:00
Rewrite Remove redundant semicolons which are null statements. 2012-09-10 21:20:09 +00:00
Sema Add the Microsoft __is_interface_class type trait. 2012-09-25 07:32:49 +00:00
Serialization Make sure that we don't end up making an #undef'd macro visible after 2012-09-24 19:56:18 +00:00
StaticAnalyzer [analyzer] Fix a buildbot crash triggered by turning on dynamic 2012-09-25 00:31:43 +00:00
Tooling Split library clangRewrite into clangRewriteCore and clangRewriteFrontend. 2012-09-01 05:09:24 +00:00
CMakeLists.txt Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00
Makefile Adds the AST Matcher library, which provides a in-C++ DSL to express 2012-07-06 05:48:52 +00:00