diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-01-09 09:38:14 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-01-09 09:38:14 +0000 |
commit | 02e764487fa4a8e22e5ef3e8b2ab9c8361454b69 (patch) | |
tree | e961896f828f6cfea78b0ade6243711e188af44c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ed13fab4bc65ed8142070f9e8c9dc6e003287f87 (diff) | |
download | llvm-02e764487fa4a8e22e5ef3e8b2ab9c8361454b69.zip llvm-02e764487fa4a8e22e5ef3e8b2ab9c8361454b69.tar.gz llvm-02e764487fa4a8e22e5ef3e8b2ab9c8361454b69.tar.bz2 |
Parse: Don't crash when namespace is in GNU statement expr
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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions