[LLVMbugs] [Bug 6948] New: Assertion 'queried property of class with no definition' on invalid code
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 27 01:40:28 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6948
Summary: Assertion 'queried property of class with no
definition' on invalid code
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chris at bubblescope.net
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
The following invalid code makes clang++ segfault with:
clang:
/home/caj/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/DeclCXX.h:317:
const clang::CXXRecordDecl::DefinitionData& clang::CXXRecordDecl::data() const:
Assertion `DefinitionData && "queried property of class with no definition"'
failed.
template<typename _CharT> class basic_string;
int main() {
basic_string<char> str (read_from_file());
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list