[LLVMbugs] [Bug 10486] New: Warning for K&R declarations and definitions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 25 15:22:12 PDT 2011


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

           Summary: Warning for K&R declarations and definitions
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu


There is a lot of code still in the wild that uses K&R-style (non-)prototypes
or definitions. It would be nice to have a non-default warning for this to make
it easier to clean up larger code bases.

It would be even better to have an appropriate fixit.

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