[LLVMbugs] [Bug 7899] New: clang c++ crash with using and friend declaration

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 14 17:31:29 PDT 2010


           Summary: clang c++ crash with using and friend declaration
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

void foo();
namespace bar {
  using ::foo;
  class baz {
    friend void foo();

Crashes with:
clang: IdentifierResolver.cpp:74: void
clang::IdentifierResolver::IdDeclInfo::RemoveDecl(clang::NamedDecl*): Assertion
`0 && "Didn't find this decl on its identifier's chain!"' failed.

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