summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/basic
Commit message (Collapse)AuthorAgeFilesLines
...
* Correctly handle elaborated template ids. Still not handled properly for ↵John McCall2009-09-041-0/+18
| | | | | | friends. llvm-svn: 80977
* Argument-dependent lookup for friend declarations. Add a new decl type,John McCall2009-08-111-0/+42
| | | | | | | | | | | | FriendFunctionDecl, and create instances as appropriate. The design of FriendFunctionDecl is still somewhat up in the air; you can befriend arbitrary types of functions --- methods, constructors, etc. --- and it's not clear that this representation captures that very well. We'll have a better picture when we start consuming this data in access control. llvm-svn: 78653
* First pass at friend semantics.John McCall2009-08-061-3/+1
| | | | llvm-svn: 78274
* Semantic checking for main().John McCall2009-07-257-0/+39
| | | | | | | Fix some invalid main() methods in the test suite that were nicely exposed by the new checks. llvm-svn: 77047
* Fix a corner case with argument-dependent lookup and overloaded function sets.Douglas Gregor2009-07-081-0/+11
| | | | llvm-svn: 74999
* Improve argument-dependent lookup to find associated classes andDouglas Gregor2009-07-082-0/+89
| | | | | | | namespaces based on the template arguments of a class template specialization type. llvm-svn: 74993
* When recursively instantiating function templates, keep track of theDouglas Gregor2009-06-301-1/+1
| | | | | | | | | | | | instantiation stack so that we provide a full instantiation backtrace. Previously, we performed all of the instantiations implied by the recursion, but each looked like a "top-level" instantiation. The included test case tests the previous fix for the instantiation of DeclRefExprs. Note that the "instantiated from" diagnostics still don't tell us which template arguments we're instantiating with. llvm-svn: 74540
* New test for when the subexpressions within a typeid are potentially ↵Douglas Gregor2009-06-231-0/+36
| | | | | | evaluated. We seem to be the only ones to get this right. llvm-svn: 73955
* Implement correct name lookup inside an initializer of a C++ class static ↵Argyrios Kyrtzidis2009-06-171-1/+0
| | | | | | | | data member. Fixes "test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp" test case. llvm-svn: 73652
* More [basic.lookup.unqual] tests.Daniel Dunbar2009-06-155-0/+62
| | | | | | - p13 and p14 are important failures. llvm-svn: 73392
* Test for [basic.lookup.unqual]p3Daniel Dunbar2009-06-151-0/+26
- Failing, at least in part, because lookup in parser is finding a friend function where it shouldn't. llvm-svn: 73388
OpenPOWER on IntegriCloud