summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/p3.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement DR482: namespace members can be redeclared with a qualified nameRichard Smith2013-12-051-1/+2
| | | | | | | | | | within their namespace, and such a redeclaration isn't required to be a definition any more. Update DR status page to say Clang 3.4 instead of SVN and add new Clang 3.5 category (but keep Clang 3.4 yellow for now). llvm-svn: 196481
* Promote the warning about extra qualification on a declaration from aDouglas Gregor2012-09-131-1/+1
| | | | | | | | warning to an error. C++ bans it, and both GCC and EDG diagnose it as an error. Microsoft allows it, so we still warn in Microsoft mode. Fixes <rdar://problem/11135644>. llvm-svn: 163831
* Unify and fix our checking of C++ [dcl.meaning]p1's requirementsDouglas Gregor2012-03-281-3/+1
| | | | | | | | | concerning qualified declarator-ids. We now diagnose extraneous qualification at namespace scope (which we had previously missed) and diagnose these qualification errors for all kinds of declarations; it was rather uneven before. Fixes <rdar://problem/11135644>. llvm-svn: 153577
* PR10359: Template declarations which define classes are not permitted to ↵Richard Smith2011-07-141-0/+20
also contain declarators. Previously we would accept code like this: template<typename T> struct S { } f() { return 0; } This case now produces a missing ';' diagnostic, since that seems like a much more likely error than an attempt to declare a function or variable in addition to the class template. Treat this llvm-svn: 135195
OpenPOWER on IntegriCloud