[LLVMbugs] [Bug 6321] New: Wunused-function false positive
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 16 09:14:26 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6321
Summary: Wunused-function false positive
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: tonic at nondot.org, llvmbugs at cs.uiuc.edu
This is a false positive:
--
ddunbar at 67-218-110-63:tmp$ cat t.c
static void f0(void);
void f1(void(*a0)(void));
void f2(void) { f1(f0); }
static void f0(void) {}
ddunbar at 67-218-110-63:tmp$ clang -c -Wunused-function t.c
t.c:4:13: warning: unused function 'f0' [-Wunused-function]
static void f0(void) {}
^
1 diagnostic generated.
ddunbar at 67-218-110-63:tmp$
--
--
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