[LLVMbugs] [Bug 18425] New: Assertion failure '!isNull' in getcommonPtr() with clang 3.4 from tarball
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 8 13:13:25 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18425
Bug ID: 18425
Summary: Assertion failure '!isNull' in getcommonPtr() with
clang 3.4 from tarball
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: cmaloney at tagged.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11846
--> http://llvm.org/bugs/attachment.cgi?id=11846&action=edit
Backtrace
NOTE: this is a moderately non-sensical snippet reduced from an actual chunk of
code which does make more sense
$cat a.cc
// compile with clang++ -std=c++11
template <int>
class A {
public:
struct B {};
void Foobar() {
[](int d) {
B *e(d);
[e, d]() {
int i = d;
e[i];
};
};
}
};
$clang++ -std=c++11
clang: llvm/tools/clang/lib/AST/../../include/clang/AST/Type.h:547: const
clang::ExtQualsTypeCommonBase* clang::QualType::getCommonPtr() const: Assertion
`!isNull() && "Cannot retrieve a NULL type pointer"' failed.
[backtrace attached]
--
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/20140108/d9685101/attachment.html>
More information about the llvm-bugs
mailing list