diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-05 02:25:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-05 02:25:03 +0000 |
commit | 27b7f1028255149978356f85c4825522d234a253 (patch) | |
tree | 7190b751b54dd945f9a7dfe2cd839db52f466537 /lib/CodeGen/CodeGenTypes.cpp | |
parent | 2254a9f32830492459a6fc4d90ccd2776dab7807 (diff) |
Include struct context info for parser/sema crashes. This
gives us:
Stack dump:
0. using-directive.cpp:26:16: in compound statement ('{}')
1. using-directive.cpp:26:16: parsing function body 'A::K1::foo'
2. using-directive.cpp:25:3: parsing struct/union/class body 'A::K1'
3. using-directive.cpp:5:1: parsing namespace 'A'
4. clang using-directive.cpp
Abort
for code like:
namespace A {
...
class K1 {
void foo() { <<crash>>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions