summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/qualified-id.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace a FIXME with a diagnostic when we can't resolve theDouglas Gregor2012-03-181-0/+9
| | | | | | nested-name-specifier for a class template declaration. Fixes PR12291. llvm-svn: 153006
* Turn access control on by default in -cc1.John McCall2010-04-091-0/+1
| | | | | | | | Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880
* When naming a function template via a qualified-id (or any other wayDouglas Gregor2010-01-291-0/+15
| | | | | | | | that ADL is suppressed), we need to build an UnresolvedLookupExpr. Fixes PR6063, which was hitting Boost headers pretty hard. llvm-svn: 94814
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Rework how we support C++ implicit member accesses. If we can resolve anJohn McCall2009-12-011-0/+11
| | | | | | | | | | | | | | | implicit member access to a specific declaration, go ahead and create it as a DeclRefExpr or a MemberExpr (with implicit CXXThisExpr base) as appropriate. Otherwise, create an UnresolvedMemberExpr or DependentScopeMemberExpr with a null base expression. By representing implicit accesses directly in the AST, we get the ability to correctly delay the decision about whether it's actually an instance member access or not until resolution is complete. This permits us to correctly avoid diagnosing the 'problem' of 'MyType::foo()' where the relationship to the type isn't really known until instantiation. llvm-svn: 90266
* Fix and test for a problem caught by the clang-on-clang buildbot: qualifiedJohn McCall2009-11-301-0/+11
| | | | | | IDs in dependent contexts are not dependent if the context names a namespace. llvm-svn: 90171
* Parse a C++ scope specifier followed by a "typename" annotation token as a ↵Douglas Gregor2009-09-281-0/+9
type name within the declaration specifiers. Fixes PR5061. llvm-svn: 82974
OpenPOWER on IntegriCloud