https://bugs.llvm.org/show_bug.cgi?id=39311
Bug ID: 39311
Summary: Clang parser crashes on invalid input with typo
suggestions on assertion "queried property of class
with no definition"
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
This invalid input crashes "clang++ -c input.cpp":
template <T> f() { class ClassA class : ClassB, ClassA
It is necessary for "ClassA" and "ClassB" names to be similar enough to trigger
the typo suggestion and the crash. This affects all versions of Clang, from
3.7 to trunk (r344434).
This bug is different from https://bugs.llvm.org/show_bug.cgi?id=12777 which is
no longer reproducible.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs