[llvm-bugs] [Bug 39311] New: Clang parser crashes on invalid input with typo suggestions on assertion "queried property of class with no definition"
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 15 15:23:16 PDT 2018
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: unassignedclangbugs at nondot.org
Reporter: orivej at gmx.fr
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181015/946d3b8b/attachment.html>
More information about the llvm-bugs
mailing list