[LLVMbugs] [Bug 21980] New: Add Clang C++ warning for void as parameter list

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 19 09:50:05 PST 2014


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

            Bug ID: 21980
           Summary: Add Clang C++ warning for void as parameter list
           Product: new-bugs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eugene.zelenko at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Hi!

I think will be great to have warning when void is used as function parameter
for indication of empty arguments list in C++ code (i. e. not extern "C"). Such
coding style make sense in ANSI C, but not C++.

Eugene.

-- 
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/20141219/0f7e46c4/attachment.html>


More information about the llvm-bugs mailing list