[all-commits] [llvm/llvm-project] 6ee4ee: [Clang] Reintroduce obsolete libclang symbols to a...

Sirraide via All-commits all-commits at lists.llvm.org
Thu Jul 17 01:29:36 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ee4eedc2a5b9c52008651ebd8aaf240adc23fcb
      https://github.com/llvm/llvm-project/commit/6ee4eedc2a5b9c52008651ebd8aaf240adc23fcb
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M clang/include/clang-c/Index.h
    M clang/tools/libclang/CMakeLists.txt
    A clang/tools/libclang/Obsolete.cpp
    M llvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn

  Log Message:
  -----------
  [Clang] Reintroduce obsolete libclang symbols to avoid an ABI break (#149079)

For more context, see
https://github.com/llvm/llvm-project/pull/119269#issuecomment-3075444493,
but briefly, when removing ARCMigrate, I also removed some symbols in
libclang, which constitutes an ABI break that we don’t want, so this pr
reintroduces the removed symbols; the declarations are marked as
deprecated for future removal, and the implementations print an error
and do nothing, which is what we used to do when ARCMigrate was
disabled.

(cherry picked from commit 1600450f9098e5c9cb26840bd53f1be8a2559b7d)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list