summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-using-decl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Re-land r250592 without rejecting field refs in unevaluated contextsReid Kleckner2015-10-201-1/+64
| | | | | | | | | | | This time, I went with the first approach from http://reviews.llvm.org/D6700, where clang actually attempts to form an implicit member reference from an UnresolvedLookupExpr. We know that there are only two possible outcomes at this point, a DeclRefExpr of the FieldDecl or an error, but its safer to reuse the existing machinery for this. llvm-svn: 250856
* Fix name lookup with dependent using decls.Eli Friedman2013-08-201-0/+24
| | | | | | | | | | We previously mishandled UnresolvedUsingValueDecls in NamedDecl::declarationReplaces, which caused us to forget decls when there are multiple dependent using decls for the same name. Fixes PR16936. llvm-svn: 188737
* Fix handling of dependent nested namespace specifiers in UsingDeclsDouglas Gregor2010-09-291-0/+19
| | | | | | during template instantiation, from Martin Vejnar! llvm-svn: 115051
* Turn access control on by default in -cc1.John McCall2010-04-091-1/+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
* Add using shadow decls to the "instantiated locals" map, fixing PR5847.John McCall2009-12-221-0/+14
| | | | llvm-svn: 91928
* 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
* Stop stripping UnresolvedUsingDecls out of LookupResults that have otherJohn McCall2009-12-031-17/+46
| | | | | | | | | results in them (which we were doing intentionally as a stopgap). Fix an DeclContext lookup-table ordering problem which was causing UsingDecls to show up incorrectly when looking for ordinary results. And oh hey Clang-Code-Syntax passes now. llvm-svn: 90367
* Implement template instantiation for using directives, which is dead simple.Douglas Gregor2009-11-171-0/+3
| | | | | | | | Also, make the "don't know how to instantiate a particular kind of declaration" diagnostic nicer, so we don't have to trap Clang in a debugger to figure out what went wrong. llvm-svn: 89050
* Improve instantiation of UnresolvedUsingDecls.Anders Carlsson2009-08-291-0/+17
llvm-svn: 80434
OpenPOWER on IntegriCloud