summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8-cxx0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix name hiding and redeclaration checking for dependent localRichard Smith2016-12-181-20/+19
| | | | | | using-declarations. llvm-svn: 290072
* Fix some interactions between C++11 and C++14 features and using-declarations:Richard Smith2016-12-181-4/+154
| | | | | | | | | | | * a dependent non-type using-declaration within a function template can be valid, as it can refer to an enumerator, so don't reject it in the template definition * we can partially substitute into a dependent using-declaration if it appears within a (local class in a) generic lambda within a function template, which means an UnresolvedUsing*Decl doesn't necessarily instantiate to a UsingDecl. llvm-svn: 290071
* Add a FixItHint for the new diagnostic for a non-class-scope ↵Richard Smith2016-05-051-0/+27
| | | | | | using-declaration that names a class-scope enumerator. llvm-svn: 268664
* Sema: Don't dyn_cast a null pointer in CheckUsingDeclQualifierDavid Majnemer2014-12-171-0/+5
| | | | | | | | | This code was written with the intent that a pointer could be null but we dyn_cast'd it anyway. Change the dyn_cast to a dyn_cast_or_null. This fixes PR21933. llvm-svn: 224411
* If a using-declaration names a class member, but appears outside a class, tryRichard Smith2014-04-021-1/+95
| | | | | | to suggest a different syntax to get the same effect. llvm-svn: 205467
* Replace "can not" with "cannot" in diagnostics messages.Ismail Pazarbasi2014-03-071-4/+4
| | | | llvm-svn: 203302
* 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
* More work on using declarations.Anders Carlsson2009-08-281-4/+4
| | | | llvm-svn: 80333
* Many improvements to using declarations.Anders Carlsson2009-08-281-0/+15
llvm-svn: 80332
OpenPOWER on IntegriCloud