[LLVMbugs] [Bug 114] New: LLVM Header Files Should Not Use C Style Casts

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Sat Nov 15 16:29:07 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=114

           Summary: LLVM Header Files Should Not Use C Style Casts
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Support Libraries
        AssignedTo: rspencer at x10sys.com
        ReportedBy: rspencer at x10sys.com


Some of the LLVM header files (notably include/Support/Casting.h) use C Style
casting. Given that LLVM is a modern C++ application, it should really be using
C++ style casting so that users that choose to utilize the -Wold-style-cast
option to the compiler don't get warnings.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list