Bug#724550: clang-3.3: crash when parsing (invalid) c++ source

Sylvestre Ledru sylvestre at debian.org
Wed Sep 25 14:58:16 UTC 2013


On 25/09/2013 02:02, Julian Blake Kongslie wrote:
> Package: clang-3.3
[...]
> I've attached the relevant files (foo.cpp, /tmp/foo-1Vw0aR.cpp,
> /tmp/foo-1Vw0aR.sh) to this report. The command I ran was simply:
> 	clang++ foo.cpp
> 
> Please let me know if there's anything further I can do to assist.

Thanks for this bug report. FYI, the snapshot release no longer segfault
on such issue:
$ clang++ foo.cpp
foo.cpp:3:14: error: no class named 'Qux' in 'Foo'
                class Foo::Qux get_qux();
                      ~~~~~^
1 error generated.

Sylvestre



More information about the Pkg-llvm-team mailing list