[LLVMbugs] [Bug 12994] New: Assertion failed: clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(const clang::DeclRefExpr *): Assertion `(ND->isUsed(false) || !isa<VarDecl>(ND) || !E->getLocation().isValid()) && "Should not use decl without marking it used!"'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 31 02:04:15 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12994

             Bug #: 12994
           Summary: Assertion failed:
                    clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(con
                    st clang::DeclRefExpr *): Assertion
                    `(ND->isUsed(false) || !isa<VarDecl>(ND) ||
                    !E->getLocation().isValid()) && "Should not use decl
                    without marking it used!"'
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bespoleznyak at narod.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8664
  --> http://llvm.org/bugs/attachment.cgi?id=8664
compiler output

-- 
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