| #
1a504773 |
| 01-Sep-2009 |
Fariborz Jahanian <[email protected]> |
Fixed a property getter ir-gen crash.
llvm-svn: 80681
|
| #
f405d7e6 |
| 31-Aug-2009 |
Douglas Gregor <[email protected]> |
Eliminate CXXAdornedMemberExpr entirely. Instead, optionally allocate space within the MemberExpr for the nested-name-specifier and its source range. We'll do the same thing with explicitly-specified
Eliminate CXXAdornedMemberExpr entirely. Instead, optionally allocate 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
show more ...
|
| #
96ee789d |
| 31-Aug-2009 |
Douglas Gregor <[email protected]> |
Rename CXXQualifiedMemberExpr -> CXXAdornedMemberExpr, since we will also be adding explicit template arguments as an additional "adornment". No functionality change.
llvm-svn: 80628
|
| #
3df87678 |
| 29-Aug-2009 |
Fariborz Jahanian <[email protected]> |
Patch for code gen. for c-style cast which ends in using class's conversion functions [12.3.2-p2]
llvm-svn: 80433
|
| #
8b899e42 |
| 28-Aug-2009 |
Fariborz Jahanian <[email protected]> |
ir-gen related patch for type conversion with class type conversion methods. WIP.
llvm-svn: 80365
|
| #
ff083ef4 |
| 27-Aug-2009 |
Eli Friedman <[email protected]> |
Clean up CodeGenFunction::EmitCastLValue to use the cast kind. Error out for user-defined conversions instead of crashing.
llvm-svn: 80282
|
| #
c190523d |
| 26-Aug-2009 |
Douglas Gregor <[email protected]> |
When a member reference expression includes a qualifier on the member name, e.g., x->Base::f()
retain the qualifier (and its source range information) in a new subclass of MemberExpr called CXX
When a member reference expression includes a qualifier on the member 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
show more ...
|
| #
9a846659 |
| 20-Aug-2009 |
Fariborz Jahanian <[email protected]> |
Using "ObjCImplicitSetterGetterRefExpr" instead of "ObjCImplctSetterGetterRefExpr". A field rename and more comments.
llvm-svn: 79537
|
| #
88cc2340 |
| 18-Aug-2009 |
Fariborz Jahanian <[email protected]> |
Renamed ObjCKVCRefExpr to ObjCImplctSetterGetterRefExpr. Removed an unnecessary loop to get to setters incoming argument. Added DoxyGen comments. Still more work to do in this area (WIP).
llvm-svn:
Renamed ObjCKVCRefExpr to ObjCImplctSetterGetterRefExpr. Removed an unnecessary loop to get to setters incoming argument. Added DoxyGen comments. Still more work to do in this area (WIP).
llvm-svn: 79365
show more ...
|
| #
3b848940 |
| 16-Aug-2009 |
Anders Carlsson <[email protected]> |
Only do this for initializers of course.
llvm-svn: 79197
|
| #
b80760bd |
| 16-Aug-2009 |
Anders Carlsson <[email protected]> |
Destroy bound temporaries.
llvm-svn: 79196
|
| #
5b106a75 |
| 16-Aug-2009 |
Anders Carlsson <[email protected]> |
Add an IsInitializer flag to EmitAnyExpr. This is used to prevent temporaries from being destroyed when they're bound to a reference variable.
llvm-svn: 79179
|
| #
19efdd67 |
| 14-Aug-2009 |
Chris Lattner <[email protected]> |
use GetVLASize instead of accessing VLASizeMap directly, this gets an assert if VLASize isn't populated for the type yet.
llvm-svn: 79057
|
| #
41a75027 |
| 13-Aug-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change.
llvm-svn: 78946
|
| #
43b4484f |
| 12-Aug-2009 |
Dan Gohman <[email protected]> |
Use the inbounds variant of getelementptr for common pointer arithmetic.
llvm-svn: 78756
|
| #
7ec07a57 |
| 30-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API changes.
llvm-svn: 77638
|
| #
658fe02d |
| 30-Jul-2009 |
Mike Stump <[email protected]> |
Canonicalize else spacing.
llvm-svn: 77629
|
| #
e8caa2a7 |
| 30-Jul-2009 |
Eli Friedman <[email protected]> |
Remove bogus "unsupported" case for vectors (which shouldn't ever trigger). Add an "unsupported" case that triggers for C++ code.
It would be nice if someone would implement this properly... it s
Remove bogus "unsupported" case for vectors (which shouldn't ever trigger). Add an "unsupported" case that triggers for C++ code.
It would be nice if someone would implement this properly... it shouldn't be too hard, but I haven't looked closely at the relevant code.
llvm-svn: 77562
show more ...
|
| #
9793f0e4 |
| 29-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change.
llvm-svn: 77514
|
| #
c23c7e6a |
| 29-Jul-2009 |
Ted Kremenek <[email protected]> |
Change uses of: Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::ge
Change uses of: Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc.
This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach.
llvm-svn: 77510
show more ...
|
| #
bb67b827 |
| 29-Jul-2009 |
Fariborz Jahanian <[email protected]> |
Patch to provide cast of objects in member access excpression, if needed, and remove some ir-gen code now unnencessary.
llvm-svn: 77490
|
| #
82e28742 |
| 29-Jul-2009 |
Fariborz Jahanian <[email protected]> |
Code refactoring to define getCXXRecordDeclForPointerType and use it in several places.
llvm-svn: 77411
|
| #
3cc120a5 |
| 28-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change.
llvm-svn: 77368
|
| #
a399dfae |
| 28-Jul-2009 |
Fariborz Jahanian <[email protected]> |
More cleanup of data member access and then some.
llvm-svn: 77351
|
| #
5142fbd0 |
| 28-Jul-2009 |
Fariborz Jahanian <[email protected]> |
More work toward data member access ir-gen.
llvm-svn: 77332
|