summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx1z-nested-namespace-definition.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Switch to gnu++14 as the default dialect.Tim Northover2017-12-091-1/+1
| | | | | | This is C++14 with conforming GNU extensions. llvm-svn: 320250
* Replace remaining user-visible mentions of C++1z with C++17.Richard Smith2017-08-131-3/+3
| | | | llvm-svn: 310804
* [c++1z] Implement nested-namespace-definitions.Richard Smith2014-11-081-0/+38
This allows 'namespace A::B { ... }' as a shorthand for 'namespace A { namespace B { ... } }'. We already supported this correctly for error recovery; promote that support to a full implementation. This is not the right implementation: we do not maintain source fidelity because we desugar the nested namespace definition in the parser. This is tricky to avoid, since the definition genuinely does inject one named entity per level in the namespace name. llvm-svn: 221574
OpenPOWER on IntegriCloud