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

            Bug ID: 32065
           Summary: split off subgroup of -Wold-style-cast for casts that
                    resolve to reinterpret_cast or const_cast
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: richard-l...@metafoo.co.uk
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

-Wold-style-cast is effectively a stylistic warning right now (warning on a
particular, older syntax). It would be useful to have a special case of that
warning group that only warns on "unsafe" casts performed via an old-style
cast: specifically, one that cannot also be performed by a static_cast.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to