[LLVMbugs] [Bug 2236] New: Bogus defined but not used diagnostics.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Apr 20 00:58:31 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2236
Summary: Bogus defined but not used diagnostics.
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: neil at daikokuya.co.uk
CC: llvmbugs at cs.uiuc.edu
Nate's recent changes cause a bogus diagnostic:
static void a (void);
void b (void) { a (); }
static void a(void) {}
/tmp/bug.c:3:13: warning: static 'a' defined but not used
--
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