- Jan 29, 2011
-
-
Anders Carlsson authored
llvm-svn: 124529
-
Anders Carlsson authored
When trying to get the most derived class, don't assume that we can ignore all casts. We can only ignore derived-to-base and no-op casts. Fixes selfhost. llvm-svn: 124528
-
Anders Carlsson authored
When calling a virtual member function on a base class and the most derived class is marked 'final', we can devirtualize the call. llvm-svn: 124524
-
Anders Carlsson authored
When doing a derived-to-base class through a virtual class, we don't have to get the vbase offset from the vtable if the derived class is marked final. llvm-svn: 124523
-
Fariborz Jahanian authored
indirect vf calls and addition of extra entry at bottom of vtbls. llvm-svn: 124507
-
- Jan 28, 2011
-
-
John McCall authored
llvm-svn: 124503
-
John McCall authored
Pure motion. llvm-svn: 124484
-
John McCall authored
for CodeGen's RValue type. llvm-svn: 124483
-
John McCall authored
fixing a crash which probably nobody was ever going to see. In doing so, fix a horrendous number of problems with the conditional-cleanups code. Also, make conditional cleanups re-use the cleanup's activation variable, which avoids some unfortunate repetitiveness. llvm-svn: 124481
-
Douglas Gregor authored
non-class prvalues actually require the realization of a temporary. For everything else, we already have an lvalue (or class prvalue) in the subexpression. Note: we're missing some move elision in this case. I'll tackle that next. llvm-svn: 124453
-
- Jan 27, 2011
-
-
John McCall authored
deallocation function has a two-argument form. Store the result of this check in new[] and delete[] nodes. Fixes rdar://problem/8913519 llvm-svn: 124373
-
John McCall authored
My thanks to chapuni for his help in investigating this. llvm-svn: 124351
-
Fariborz Jahanian authored
referenced in the block-literal initializer of that variable. // rdar://8893785 llvm-svn: 124332
-
- Jan 26, 2011
-
-
John McCall authored
llvm-svn: 124310
-
John McCall authored
dtor cleanup use it. llvm-svn: 124309
-
John McCall authored
I'm separately committing this because it incidentally changes some block orderings and minor IR issues, like using a phi instead of an unnecessary alloca. llvm-svn: 124277
-
- Jan 25, 2011
-
-
Nico Weber authored
llvm-svn: 124227
-
Eric Christopher authored
llvm-svn: 124153
-
- Jan 24, 2011
-
-
Anton Yartsev authored
llvm-svn: 124146
-
Anders Carlsson authored
llvm-svn: 124122
-
Anders Carlsson authored
llvm-svn: 124096
-
Anders Carlsson authored
llvm-svn: 124095
-
Anders Carlsson authored
llvm-svn: 124094
-
Anders Carlsson authored
Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. This fixes PR6996. llvm-svn: 124089
-
- Jan 23, 2011
-
-
Anders Carlsson authored
llvm-svn: 124083
-
Ted Kremenek authored
clang's -Wuninitialized-experimental warning. While these don't look like real bugs, clang's -Wuninitialized-experimental analysis is stricter than GCC's, and these fixes have the benefit of being general nice cleanups. llvm-svn: 124072
-
- Jan 22, 2011
-
-
Benjamin Kramer authored
llvm-svn: 124029
-
Douglas Gregor authored
llvm-svn: 124023
-
Douglas Gregor authored
llvm-svn: 124020
-
- Jan 21, 2011
-
-
Fariborz Jahanian authored
Improve on test case. Per Doug's comment. wip. llvm-svn: 123954
-
- Jan 20, 2011
-
-
Fariborz Jahanian authored
vf calls, be made indirect. This patch is towards that goal. llvm-svn: 123922
-
Ken Dyck authored
llvm-svn: 123868
-
- Jan 19, 2011
-
-
John McCall authored
thousand other things which were (generally inadvertantly) relying on that. llvm-svn: 123814
-
Ken Dyck authored
counterparts where char units are needed. llvm-svn: 123805
-
Devang Patel authored
llvm-svn: 123802
-
NAKAMURA Takumi authored
llvm-svn: 123790
-
- Jan 18, 2011
-
-
Rafael Espindola authored
llvm-svn: 123773
-
Francois Pichet authored
For example: class A{ public: A& operator=(const A& that) { if (this != &that) { this->A::~A(); this->A::A(that); // <=== explicit constructor call. } return *this; } }; More work will be needed to support an explicit call to a template constructor. llvm-svn: 123735
-
Ken Dyck authored
ASTContext::toCharUnitsFromBits() when converting from bit sizes to char units. llvm-svn: 123720
-
Jeffrey Yasskin authored
-Wint-to-pointer-cast. llvm-svn: 123719
-