[llvm-bugs] [Bug 41986] New: Deprecate ORCv1 "Legacy" classes

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 22 13:16:02 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41986

            Bug ID: 41986
           Summary: Deprecate ORCv1 "Legacy" classes
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: OrcJIT
          Assignee: unassignedbugs at nondot.org
          Reporter: lhames at gmail.com
                CC: 1101.debian at gmail.com, llvm-bugs at lists.llvm.org

Deprecation warnings need to be added to the legacy classes before 9.0 branches
so that users of the stable branches (who may not read the release notes) find
out about ORCv1's deprecation.

Ideally we would use the LLVM_ATTRIBUTE_DEPRECATED attribute
(https://github.com/llvm-mirror/llvm/blob/master/include/llvm/Support/Compiler.h)
for this, but I think it may only work for functions at the moment, not
classes. If that's the case we should either develop a new attribute
(LLVM_ATTRIBUTE_DEPRECATED_CLASS) or apply the deprecation warning to the class
constructors.

-- 
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/20190522/b0f01302/attachment.html>


More information about the llvm-bugs mailing list