[LLVMbugs] [Bug 3312] New: Recent breakage related to ‘enums’ in r62016

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 10 14:39:56 PST 2009


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

           Summary: Recent breakage related to ‘enums’ in r62016
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: danchr at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2375)
 --> (http://llvm.org/bugs/attachment.cgi?id=2375)
getopt.i (preprocessed, darwin/ppc)

I was recently able to compile GNU Emacs using Clang, but now I get compiler
errors. Reverting r62016 fixed one of the files, the pre-processed output of
which is attached below.

This may be related to an ‘enum’ being declared within a ‘struct’.

2009-01-09  Douglas Gregor  <doug.gregor at gmail.com>

        * lib/Sema/SemaDecl.cpp:
        Don't bother setting NextDeclarator for EnumConstantDecls. It isn't
        used


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