summaryrefslogtreecommitdiff
path: root/clang/test/Parser/namespaces.cpp
AgeCommit message (Collapse)Author
2015-01-09Parse: Don't crash when namespace is in GNU statement exprDavid Majnemer
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
2012-10-27Fix crash on missing namespace name in namespace alias definition -- PR14085.Nico Weber
Patch from Brian Brooks <brooks.brian@gmail.com>! llvm-svn: 166893
2010-05-14Namespaces can only be defined at global or namespace scope. Fixes PR6596.Douglas Gregor
llvm-svn: 103767