[LLVMbugs] [Bug 16428] New: support __attribute__((warning(""))) and __attribute__((error("")))
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 23 21:59:48 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16428
Bug ID: 16428
Summary: support __attribute__((warning(""))) and
__attribute__((error("")))
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: b.r.longbons at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
GCC supports these attributes for warning if a function is actually used.
They are subtly different than __attribute__((deprecated(""))) in that they are
emitted after DCE.
They also give a different type of warning: [enabled by default] instead of
[-Wdeprecated-declarations]
I don't know much about LLVM internals, but you might need to take care for the
case where the attribute is on an inline function.
--
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/20130624/eab4c01c/attachment.html>
More information about the llvm-bugs
mailing list