John McCall
07e91c04ba
First pass at friend semantics.
...
llvm-svn: 78274
2009-08-06 02:15:43 +00:00
John McCall
9de556c8b6
AlisdairM pointed out that this will likely be relaxed in C++0x, so let's
...
make a note of it in the test case.
llvm-svn: 78266
2009-08-06 00:50:46 +00:00
John McCall
13c5a27c9a
Add a test for invalid uses of non-static members from nested classes, just
...
because I was thinking about it.
llvm-svn: 78262
2009-08-05 23:56:26 +00:00
Owen Anderson
e05f2ed478
Update for LLVM API change.
...
llvm-svn: 77249
2009-07-27 21:00:51 +00:00
Daniel Dunbar
595c98729b
Make having no RUN line a failure.
...
Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure
if they are actually testing the right thing / anything.
llvm-svn: 77070
2009-07-25 12:47:38 +00:00
Mike Stump
af6ab88979
Prep for new warning.
...
llvm-svn: 76772
2009-07-22 20:02:03 +00:00
Douglas Gregor
8a27391190
"This patch implements the restrictions on union members detailed in
...
[class.union]p1", from John McCall!
llvm-svn: 76766
2009-07-22 18:25:24 +00:00
Mike Stump
0ab3c3deac
Revert this, we have a better way to do this.
...
llvm-svn: 76687
2009-07-21 23:47:12 +00:00
Mike Stump
d8679446a3
Revert this, we have a better way to handle this.
...
llvm-svn: 76685
2009-07-21 23:45:39 +00:00
Mike Stump
f4464156cf
Prep for new warning.
...
llvm-svn: 76628
2009-07-21 19:03:43 +00:00
Mike Stump
447351f1ff
Prep for new warning.
...
llvm-svn: 76627
2009-07-21 19:02:55 +00:00
Anders Carlsson
9e47af8b59
Add test for [class.local]p2.
...
llvm-svn: 74051
2009-06-24 02:00:28 +00:00
Anders Carlsson
829574edab
Add test for [class.nested.type]p1
...
llvm-svn: 74033
2009-06-24 00:30:37 +00:00
Anders Carlsson
d2e8adfc75
Support for [class.local]p4.
...
llvm-svn: 74030
2009-06-24 00:28:53 +00:00
Anders Carlsson
946b86d91a
[class.local] p1 and p3. Also, add back the xcodeproj file.
...
llvm-svn: 74027
2009-06-24 00:10:43 +00:00