summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-11-08 05:37:34 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-11-08 05:37:34 +0000
commit13307f5f24299d35a0bf944153bc3d673fccadf6 (patch)
tree934e824c1c7d4d979ca98fe421de8c35193d7789 /clang/lib/Parse/ParseExpr.cpp
parent0f0af19b058151690ec02d781d0039fb1fc38426 (diff)
downloadbcm5719-llvm-13307f5f24299d35a0bf944153bc3d673fccadf6.tar.gz
bcm5719-llvm-13307f5f24299d35a0bf944153bc3d673fccadf6.zip
[c++1z] Implement nested-namespace-definitions.
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
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud