[LLVMbugs] [Bug 6947] New: Assertion 'Passed null for Decl param'
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 27 01:20:03 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6947
Summary: Assertion 'Passed null for Decl param'
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 code causes a 'Passed null for Decl param' assertion. It is
derived from boost code. This code is (I believe) minimal. The 'private:' and
the unused method 'make_processor_holder' are necessary to trigger it.
template< class Scheduler >
struct processor_container {
int create_processor( )
{
typedef void ( processor_container::*impl_fun_ptr )( );
impl_fun_ptr pImpl = &processor_container::template
create_processor_impl1<int>;
}
private:
int make_processor_holder() {
}
template< class Processor>
void create_processor_impl1( )
{
}
};
char GetKey() {
processor_container<int> pc;
pc.create_processor();
}
--
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