[LLVMbugs] [Bug 17624] New: Incorrect warning about a function not being needed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Oct 19 08:46:51 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17624
Bug ID: 17624
Summary: Incorrect warning about a function not being needed
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: ASSIGNED
Severity: normal
Priority: P
Component: Frontend
Assignee: rafael.espindola at gmail.com
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Given
static void func();
void bar() {
void func();
func();
}
static void func() {}
clang warns that "function 'func' is not needed and will not be emitted", but
that is not the case. We do emit func.
--
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/20131019/91d6b0ad/attachment.html>
More information about the llvm-bugs
mailing list