[llvm-bugs] [Bug 27231] New: Assertion `Entry != DelayedTypos.end() && "Failed to get the state for a TypoExpr!"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 5 15:51:59 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27231
Bug ID: 27231
Summary: Assertion `Entry != DelayedTypos.end() && "Failed to
get the state for a TypoExpr!"' failed.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Keywords: crash-on-invalid
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: rtrieu at google.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
$ cat test.c
void test(int x, int y) {
test(unknown, unknown | unknown);
}
$ clang -cc1 test.c
test.c:2:17: error: use of undeclared identifier 'unknown'
test(unknown, unknown | unknown);
^
test.c:2:27: error: use of undeclared identifier 'unknown'
test(unknown, unknown | unknown);
^
clang: ../tools/clang/lib/Sema/SemaLookup.cpp:5032: const Sema::TypoExprState
&clang::Sema::getTypoExprState(clang::TypoExpr *) const: Assertion `Entry !=
DelayedTypos.end() && "Failed to get the state for a TypoExpr!"' failed.
--
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/20160405/51fd40c1/attachment.html>
More information about the llvm-bugs
mailing list