[LLVMbugs] [Bug 13108] New: -Wformat should print invalid formats as they were written in the source
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 13 10:40:14 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13108
Bug #: 13108
Summary: -Wformat should print invalid formats as they were
written in the source
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: hans at chromium.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
For example, the following code:
printf("%h\n");
produces the following warning:
a.c:4:13: warning: invalid conversion specifier '
'
This would be better:
warning: invalid conversion specifier '\n'
--
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