[LLVMbugs] [Bug 12339] New: Lookup in linkage specs asserts

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 23 09:55:59 PDT 2012


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

             Bug #: 12339
           Summary: Lookup in linkage specs asserts
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: vvasilev at cern.ch
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8260
  --> http://llvm.org/bugs/attachment.cgi?id=8260
Patch that fixes the issue

Hi,
  I get crash if I do:
cat file.h
extern "C" void i;
::FOO

clang -fsyntax-only -x c++ /tmp/file.h

It looks that static LookupVisibleDecls filter the linkage spec decls. If that
is the case I attach a patch.

Vassil

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