Sebastian Redl
3d3f75a995
Allow taking the address of data members, resulting in a member pointer.
...
Pointers to functions don't work yet, and pointers to overloaded functions even less. Also, far too much illegal code is accepted.
llvm-svn: 63655
2009-02-03 20:19:35 +00:00
Sebastian Redl
ed8f200318
Implement pointer to member handling in static_cast.
...
Fix a stupid mistake in UnwrapSimilarPointers that made any two member pointers compatible as long as the pointee was the same.
Make a few style corrections as suggested by Chris.
llvm-svn: 63215
2009-01-28 18:33:18 +00:00
Sebastian Redl
a7bc8473a3
Remove an implemented FIXME and extend test cases. Follow-up on Doug's review.
...
llvm-svn: 63032
2009-01-26 19:54:48 +00:00
Sebastian Redl
72b597d6b6
Implement implicit conversions for pointers-to-member.
...
llvm-svn: 62971
2009-01-25 19:43:20 +00:00
Sebastian Redl
c6d52f5dfb
Make tentative parsing of pointer-to-member decls work, and fix other stuff pointed out by Doug.
...
llvm-svn: 62944
2009-01-24 23:29:36 +00:00
Sebastian Redl
9ed6efdd75
Add support for declaring pointers to members.
...
Add serialization support for ReferenceType.
llvm-svn: 62934
2009-01-24 21:16:55 +00:00