- Nov 13, 2009
-
-
Anders Carlsson authored
Instead of storing CXXMethodDecls in the vtable builder, store GlobalDecls so we can represent both the complete and deleting destructors. Also, when encountering a destructor decl, emit entries for both the complete and deleting destructors. Mike, please review. With this change, FileCheck builds and runs the clang test suite without failures! llvm-svn: 88663
-
Anders Carlsson authored
Add a special BuildVirtualCall that's going to be used for building calls to destructors. This is needed because when compiling: struct A { virtual ~A(); }; void f(A* a) { delete a; } A's deleting destructor should be called. llvm-svn: 87083
-
Anders Carlsson authored
1. For A f() { return A(); } we were incorrectly calling the A destructor on the returned object. 2. For void f(A); void g() { A a; f(a); } we were incorrectly not calling the copy constructor. llvm-svn: 87082
-
- Nov 11, 2009
-
-
Fariborz Jahanian authored
initializer list. Fixes PR5463. llvm-svn: 86849
-
Fariborz Jahanian authored
objects. llvm-svn: 86778
-
- Nov 10, 2009
-
-
Fariborz Jahanian authored
global array of objects. llvm-svn: 86701
-
Mike Stump authored
being generated. Add the most derived vtable pointer to the VTT. llvm-svn: 86671
-
- Nov 09, 2009
-
-
Eli Friedman authored
and implicitly defined constructors. This has a number of benefits: 1. Less code. 2. Explicit and implicit constructors get the same diagnostics. 3. The AST explicitly contains constructor calls from implicit default constructors. This allows handing some cases that previously weren't handled correctly in IRGen without any additional code. Specifically, implicit default constructors containing calls to constructors with default arguments are now handled correctly. llvm-svn: 86500
-
- Nov 06, 2009
-
-
Fariborz Jahanian authored
using elipsis conversion). llvm-svn: 86276
-
Anders Carlsson authored
llvm-svn: 86225
-
Anders Carlsson authored
llvm-svn: 86224
-
- Nov 05, 2009
-
-
Mike Stump authored
in covariant thunks that return references. llvm-svn: 86121
-
Mike Stump authored
pointers are returned. llvm-svn: 86120
-
- Nov 04, 2009
-
-
Fariborz Jahanian authored
ctor's initializer. Fixes pr5178. llvm-svn: 86040
-
Douglas Gregor authored
from Peter Collingbourne! llvm-svn: 86030
-
Mike Stump authored
llvm-svn: 85990
-
Mike Stump authored
so the optimizer can tailcall into the return value adjustment thunk. This improves codesize for complex hierarchies. llvm-svn: 85988
-
Mike Stump authored
llvm-svn: 85978
-
Mike Stump authored
type to look at the volatile specifier. I found these all from just hand auditing the code. llvm-svn: 85967
-
- Nov 03, 2009
-
-
Mike Stump authored
llvm-svn: 85905
-
Mike Stump authored
llvm-svn: 85856
-
Mike Stump authored
llvm-svn: 85852
-
Mike Stump authored
llvm-svn: 85842
-
Mike Stump authored
llvm-svn: 85839
-
- Oct 28, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 85434
-
Fariborz Jahanian authored
llvm-svn: 85432
-
- Oct 21, 2009
-
-
Fariborz Jahanian authored
as argument to a function call. Removes a FIXME. llvm-svn: 84694
-
- Oct 16, 2009
-
-
Fariborz Jahanian authored
FIXME in CGCXX.cpp that I would like Anders to take a look at. llvm-svn: 84265
-
- Oct 13, 2009
-
-
Anders Carlsson authored
llvm-svn: 83986
-
- Oct 12, 2009
-
-
Anders Carlsson authored
llvm-svn: 83886
-
Anders Carlsson authored
llvm-svn: 83883
-
Anders Carlsson authored
llvm-svn: 83882
-
Anders Carlsson authored
Factor out devirtualization checking into a separate function and make it handle references correctly. llvm-svn: 83880
-
Anders Carlsson authored
llvm-svn: 83816
-
Anders Carlsson authored
llvm-svn: 83798
-
- Oct 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 83793
-
- Oct 10, 2009
-
-
Anders Carlsson authored
llvm-svn: 83732
-
- Oct 09, 2009
-
-
Mike Stump authored
llvm-svn: 83609
-
- Oct 07, 2009
-
-
Anders Carlsson authored
Add a MangleContext and pass it to all mangle functions. It will be used for keeping state, such as identifiers assigned to anonymous structs as well as scope encoding. llvm-svn: 83442
-
Anders Carlsson authored
llvm-svn: 83428
-