summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/namespaces.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Parse: Don't crash when namespace is in GNU statement exprDavid Majnemer2015-01-091-1/+5
| | | | | | | | | | | Parser::ParseNamespace can get a little confused when it found itself inside a compound statement inside of a non-static data member initializer. Try to determine that the statement expression's scope makes sense before trying to parse it's contents. llvm-svn: 225514
* Fix crash on missing namespace name in namespace alias definition -- PR14085.Nico Weber2012-10-271-0/+4
| | | | | | Patch from Brian Brooks <brooks.brian@gmail.com>! llvm-svn: 166893
* Namespaces can only be defined at global or namespace scope. Fixes PR6596.Douglas Gregor2010-05-141-0/+8
llvm-svn: 103767
OpenPOWER on IntegriCloud