- Jan 29, 2011
-
-
Anders Carlsson authored
llvm-svn: 124541
-
Anders Carlsson authored
llvm-svn: 124540
-
Anders Carlsson authored
Make emitting a VTT a two-step process, much like emitting a VTable. You first get the address of the VTT, and then pass it to EmitVTTDefinition. llvm-svn: 124539
-
Anders Carlsson authored
llvm-svn: 124538
-
Anders Carlsson authored
Add a new function, to be used by CGRTTI, CGVTables and CGVTT (which each has their own copy of this code). llvm-svn: 124537
-
Ken Dyck authored
llvm-svn: 124536
-
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
-
Jeffrey Yasskin authored
who actually knows how it works. llvm-svn: 124506
-
- Jan 28, 2011
-
-
John McCall authored
llvm-svn: 124505
-
John McCall authored
llvm-svn: 124503
-
Benjamin Kramer authored
llvm-svn: 124494
-
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
-
Nico Weber authored
llvm-svn: 124477
-
John McCall authored
ret duplication. llvm-svn: 124476
-
Eric Christopher authored
llvm-svn: 124474
-
Douglas Gregor authored
might be queried in places where we absolutely require a valid location (e.g., for template instantiation). Fixes some major brokenness in the use of __is_convertible_to. llvm-svn: 124465
-
Douglas Gregor authored
llvm-svn: 124455
-
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
-
Fariborz Jahanian authored
variable declaration of a struct declared type. // rdar://8918702 llvm-svn: 124451
-
- Jan 27, 2011
-
-
Douglas Gregor authored
access control errors into SFINAE errors, so that the trait provides enough support to implement the C++0x std::is_convertible type trait. To get there, the SFINAETrap now knows how to set up a SFINAE context independent of any template instantiations or template argument deduction steps, and (separately) can set a Sema flag to translate access control errors into SFINAE errors. The latter can also be useful if we decide that access control errors during template argument deduction should cause substitution failure (rather than a hard error) as has been proposed for C++0x. llvm-svn: 124446
-
Ted Kremenek authored
llvm-svn: 124445
-
Douglas Gregor authored
llvm-svn: 124441
-
Douglas Gregor authored
Document some serious badness in our evaluation of the type traits: we need to be sure we have complete types in many cases llvm-svn: 124428
-
Douglas Gregor authored
semantics after the C++0x is_convertible type trait. This implementation is not 100% complete, because it allows access errors to be hard errors (rather than just evaluating false). Original patch by Steven Watanabe! llvm-svn: 124425
-
Abramo Bagnara authored
llvm-svn: 124408
-
Ted Kremenek authored
llvm-svn: 124405
-
Ted Kremenek authored
llvm-svn: 124403
-
Ted Kremenek authored
llvm-svn: 124402
-
Jeffrey Yasskin authored
catch: lock_guard(my_mutex); declares a variable instead of creating a temporary. llvm-svn: 124398
-
Ted Kremenek authored
llvm-svn: 124394
-
Douglas Gregor authored
llvm-svn: 124393
-
Ted Kremenek authored
Wire up attributes 'ns_consumed' and 'cf_consumed' in the static analyzer's ObjC retain/release checker. llvm-svn: 124386
-
Douglas Gregor authored
llvm-svn: 124385
-
-