| #
824e0613 |
| 04-Feb-2010 |
Anders Carlsson <[email protected]> |
When binding an lvalue to a reference, we always need to pop temporaries.
With this fix, and the other fixes committed today a make check-all with a clang-built LLVM now gives:
Expected Passes :
When binding an lvalue to a reference, we always need to pop temporaries.
With this fix, and the other fixes committed today a make check-all with a clang-built LLVM now gives:
Expected Passes : 6933 Expected Failures : 46 Unsupported Tests : 40 Unexpected Failures: 27
which means that we pass 99.96% of all tests :) The resulting 27 tests are all LLVMC tests and seem to be because of differences in the clang and gcc drivers.
llvm-svn: 95313
show more ...
|
| #
9b942c65 |
| 04-Feb-2010 |
Anders Carlsson <[email protected]> |
Fix a bug where we would not mark temporaries as conditional when emitting a conditional operator as an lvalue.
llvm-svn: 95311
|
| #
3b227bd6 |
| 03-Feb-2010 |
Anders Carlsson <[email protected]> |
Revert the new reference binding code; I came up with a way simpler solution for the reference binding bug that is preventing self-hosting.
llvm-svn: 95223
|
| #
259688ce |
| 02-Feb-2010 |
Anders Carlsson <[email protected]> |
Move pointer to data member emission to CodeGenModule and use it in CGExprConstant. Fixes PR5674.
llvm-svn: 95063
|
| #
ab0ddb57 |
| 31-Jan-2010 |
Anders Carlsson <[email protected]> |
Start creating CXXBindReferenceExpr nodes when binding complex types to references.
llvm-svn: 94964
|
| #
db78f0ad |
| 29-Jan-2010 |
Anders Carlsson <[email protected]> |
Add a new EmitLValueForFieldInitialization that will be used for initializing fields (and reference type fields in particular).
llvm-svn: 94799
|
| #
5d8645b1 |
| 29-Jan-2010 |
Anders Carlsson <[email protected]> |
Simplify EmitLValueForField - we can get whether the field is part of a union or not from the FieldDecl (through its DeclContext).
llvm-svn: 94798
|
| #
ba6c437d |
| 29-Jan-2010 |
Anders Carlsson <[email protected]> |
Add an CXXBindReferenceExpr (not used just yet).
llvm-svn: 94791
|
| #
e5402e47 |
| 26-Jan-2010 |
Ken Dyck <[email protected]> |
Use CharUnits for alignment in EmitNullInitializationLValue().
llvm-svn: 94563
|
| #
40775003 |
| 11-Jan-2010 |
Ken Dyck <[email protected]> |
Roll out ASTContext::getTypeSizeInChars(), replacing instances of "ASTContext::getTypeSize() / 8". Replace [u]int64_t variables with CharUnits ones as appropriate.
Also rename RawType, fromRaw(), a
Roll out ASTContext::getTypeSizeInChars(), replacing instances of "ASTContext::getTypeSize() / 8". Replace [u]int64_t variables with CharUnits ones as appropriate.
Also rename RawType, fromRaw(), and getRaw() in CharUnits to QuantityType, fromQuantity(), and getQuantity() for clarity.
llvm-svn: 93153
show more ...
|
| #
bb8976e3 |
| 09-Jan-2010 |
Chris Lattner <[email protected]> |
implement codegen support for preinc as an lvalue, PR5514.
llvm-svn: 93076
|
| #
116ce8f1 |
| 09-Jan-2010 |
Chris Lattner <[email protected]> |
refactor pre/postinc logic into CGF and require the caller to pass in the lvalue to poke, no functionality change.
llvm-svn: 93075
|
| #
5b901951 |
| 04-Jan-2010 |
Daniel Dunbar <[email protected]> |
Fix -Asserts warning.
llvm-svn: 92491
|
| #
b8841af8 |
| 25-Dec-2009 |
Eli Friedman <[email protected]> |
Minor optimization; emit proper unsupported messages for a couple of cases.
llvm-svn: 92153
|
| #
2e06e8bb |
| 25-Dec-2009 |
Eli Friedman <[email protected]> |
Some small improvements to dead code elimination; helps a bit on LLVM-Code-Symbols test.
llvm-svn: 92152
|
| #
bfb3671b |
| 24-Dec-2009 |
Anders Carlsson <[email protected]> |
Pass the return value slot to all call exprs.
llvm-svn: 92145
|
| #
1749083e |
| 24-Dec-2009 |
Anders Carlsson <[email protected]> |
Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us halfway towards fixing PR5824.
llvm-svn: 92142
|
| #
61a401ca |
| 24-Dec-2009 |
Anders Carlsson <[email protected]> |
Pass ReturnValueSlot to EmitCall. No functionality change yet.
llvm-svn: 92138
|
| #
0435ed58 |
| 24-Dec-2009 |
Anders Carlsson <[email protected]> |
Add a ReturnValueSlot class. Change the argument order in EmitCall to match the other overload better.
llvm-svn: 92136
|
| #
f0a9ba37 |
| 23-Dec-2009 |
Chris Lattner <[email protected]> |
simplify my previous patch.
llvm-svn: 92057
|
| #
4e1a323b |
| 23-Dec-2009 |
Chris Lattner <[email protected]> |
fix opencl extvector element extraction on rvalues. We previously error_unsupported on test10 and crashed on test11.
llvm-svn: 92056
|
| #
357e8c94 |
| 19-Dec-2009 |
Eli Friedman <[email protected]> |
Fix for PR5524: make reference binding in default argument work correctly.
llvm-svn: 91733
|
| #
3f6f9feb |
| 16-Dec-2009 |
Mike Stump <[email protected]> |
Implement additional undefined checks for additional loads and stores. WIP.
llvm-svn: 91498
|
| #
2b9fc83d |
| 15-Dec-2009 |
Fariborz Jahanian <[email protected]> |
Fixes a code gen bug related to accessing a now non-existing 'isa' field of a non-existing struct type all related to legacy type definition for 'id' which we have dropped in clang in favor of a buil
Fixes a code gen bug related to accessing a now non-existing 'isa' field of a non-existing struct type all related to legacy type definition for 'id' which we have dropped in clang in favor of a built-in type. (fixes radar 7470820).
llvm-svn: 91455
show more ...
|
| #
6e997b29 |
| 15-Dec-2009 |
Anders Carlsson <[email protected]> |
ShouldDestroyTemporaries? I don't think so.
llvm-svn: 91450
|