[llvm-dev] Is it a good idea to mark class as deprecated?

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Fri May 5 05:27:54 PDT 2017


>
>
> Not sure about that class specifically, but we have
> LLVM_ATTRIBUTE_DEPRECATED in Support/Compiler.h. However I'm not sure it
> will work for class types.
>

​A quick `grep -r "LLVM_ATTRIBUTE_DEPRECATED"` shows no one use it. ​Well,
at least a web page
(doxygen maybe?) saying the class is deprecated would be helpful.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170505/3f40bc01/attachment.html>


More information about the llvm-dev mailing list