- Sep 05, 2009
-
-
Douglas Gregor authored
templates. We now distinguish between an explicit instantiation declaration and an explicit instantiation definition, and know not to instantiate explicit instantiation declarations. Unfortunately, there is some remaining confusion w.r.t. instantiation of out-of-line member function definitions that causes trouble here. llvm-svn: 81053
-
- Sep 04, 2009
-
-
Douglas Gregor authored
Now that parsing, semantic analysis, and (I think) code generation of pseudo-destructor expressions and explicit destructor calls works, update the example-dynarray.cpp test to destroy the objects it allocates and update the test to actually compile + link. The code seems correct, but the Clang-compiled version dies with a malloc error. Time to debug! llvm-svn: 81025
-
Mike Stump authored
vtables. Add thunk generation. WIP. llvm-svn: 81014
-
Douglas Gregor authored
expressions, e.g., p->~T() when p is a pointer to a scalar type. We don't currently diagnose errors when pseudo-destructor expressions are used in any way other than by forming a call. llvm-svn: 81009
-
Anders Carlsson authored
If the alignment of the chosen field in a union is greater than the alignment of the union, we need to use a packed LLVM struct. Fixes <rdar://problem/7184250>. llvm-svn: 80964
-
- Sep 03, 2009
-
-
David Chisnall authored
Fixed bug introduced in r79900 where FreeBSD was turned into NetBSD, transposing the ABIs and breaking both platforms. llvm-svn: 80870
-
Douglas Gregor authored
llvm-svn: 80853
-
- Sep 02, 2009
-
-
Anders Carlsson authored
Fix an assertion when initializing a union using a member initializer. (We weren't casting from the union type to the initializer type correctly). llvm-svn: 80837
-
Anders Carlsson authored
llvm-svn: 80808
-
Mike Stump authored
llvm-svn: 80747
-
Mike Stump authored
llvm-svn: 80744
-
Mike Stump authored
llvm-svn: 80743
-
Mike Stump authored
llvm-svn: 80737
-
Mike Stump authored
llvm-svn: 80732
-
- Sep 01, 2009
-
-
Anders Carlsson authored
llvm-svn: 80723
-
Anders Carlsson authored
llvm-svn: 80722
-
Anders Carlsson authored
llvm-svn: 80720
-
Anders Carlsson authored
llvm-svn: 80701
-
Fariborz Jahanian authored
llvm-svn: 80681
-
Eli Friedman authored
llvm-svn: 80655
-
Douglas Gregor authored
space within the MemberExpr for the nested-name-specifier and its source range. We'll do the same thing with explicitly-specified template arguments, assuming I don't flip-flop again. llvm-svn: 80642
-
Devang Patel authored
llvm-svn: 80634
-
- Aug 31, 2009
-
-
Douglas Gregor authored
also be adding explicit template arguments as an additional "adornment". No functionality change. llvm-svn: 80628
-
Fariborz Jahanian authored
API for copying GC'able aggregates (Next runtime only). llvm-svn: 80607
-
David Chisnall authored
Added -fconstant-string-class= option. Added __has_feature() test for non-fragile ABI. llvm-svn: 80591
-
- Aug 29, 2009
-
-
Eli Friedman authored
llvm-svn: 80439
-
Fariborz Jahanian authored
[12.3.2-p3] llvm-svn: 80436
-
Fariborz Jahanian authored
using class's conversion functions [12.3.2-p2] llvm-svn: 80433
-
Mike Stump authored
llvm-svn: 80405
-
- Aug 28, 2009
-
-
Fariborz Jahanian authored
with class type conversion methods. WIP. llvm-svn: 80365
-
- Aug 27, 2009
-
-
Eli Friedman authored
out for user-defined conversions instead of crashing. llvm-svn: 80282
-
Mike Stump authored
almost correct. :-) llvm-svn: 80181
-
Fariborz Jahanian authored
llvm-svn: 80178
-
Douglas Gregor authored
name, e.g., x->Base::f() retain the qualifier (and its source range information) in a new subclass of MemberExpr called CXXQualifiedMemberExpr. Provide construction, transformation, profiling, printing, etc., for this new expression type. When a virtual function is called via a qualified name, don't emit a virtual call. Instead, call that function directly. Mike, could you add a CodeGen test for this, too? llvm-svn: 80167
-
Mike Stump authored
llvm-svn: 80163
-
- Aug 26, 2009
-
-
Mike Stump authored
but not yet necessarily perfectly consistent with gcc. Also addressed Doug and John's comments. llvm-svn: 80137
-
Eli Friedman authored
Issue reported on cfe-dev. Also fixed the code to use isConstant to determine whether to generate a constant global, to be consistent with CodeGenModule. This probably needs to be refactored to deal with C++, though. llvm-svn: 80131
-
Anders Carlsson authored
llvm-svn: 80066
-
Mike Stump authored
necessarily perfectly consistent with gcc. llvm-svn: 80064
-
Fariborz Jahanian authored
in the constructor prologue. llvm-svn: 80060
-