[all-commits] [llvm/llvm-project] b15d77: [llvm-c] Add header deprecations

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 6 00:18:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b15d77928e2b44d1667391d4650e61f1ab76bded
      https://github.com/llvm/llvm-project/commit/b15d77928e2b44d1667391d4650e61f1ab76bded
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M llvm/include/llvm-c/Core.h
    A llvm/include/llvm-c/Deprecated.h

  Log Message:
  -----------
  [llvm-c] Add header deprecations

This adds support for header deprecation using
LLVM_ATTRIBUTE_C_DEPRECATED (note that we can't use
LLVM_ATTRIBUTE_DEPRECATED, which is C++ specific). This will not
help people using the FFI interface, but may help people using the
C headers.

Differential Revision: https://reviews.llvm.org/D114936




More information about the All-commits mailing list