[LLVMbugs] [Bug 2739] Unused function parameters

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 20 14:45:02 PST 2009


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


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Chris Lattner <clattner at apple.com>  2009-12-20 16:45:02 ---
We support -Wunused-parameter now:

t.c:1:14: warning: unused parameter 'p' [-Wunused-parameter]
char* f(int* p, int x) {
             ^
t.c:1:21: warning: unused parameter 'x' [-Wunused-parameter]
char* f(int* p, int x) {
                    ^


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