[llvm-bugs] [Bug 29168] New: Wold-style-cast should also warn against functional casts

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 28 08:37:28 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29168

            Bug ID: 29168
           Summary: Wold-style-cast should also warn against functional
                    casts
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeanmichael.celerier at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Currently, -Wold-style-casts will warn against : 

(int) myvar;

but not against int(myvar);

even though both are equivalent.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160828/7235004a/attachment.html>


More information about the llvm-bugs mailing list