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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs