[all-commits] [llvm/llvm-project] ce5ad2: libclang: declare blocks interfaces always
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Wed May 10 10:01:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce5ad23ac29bb70427dd22d9ee480d22e0aa6cf1
https://github.com/llvm/llvm-project/commit/ce5ad23ac29bb70427dd22d9ee480d22e0aa6cf1
Author: Saleem Abdulrasool <compnerd at compnerd.org>
Date: 2023-05-10 (Wed, 10 May 2023)
Changed paths:
M clang/include/clang-c/Index.h
Log Message:
-----------
libclang: declare blocks interfaces always
The implementation of these methods is not reliant on the availability
of the Blocks extension in the compiler. However, when building on
Windows, the interface declaration is important for the attribution of
the DLL storage. Without the attribution, the method implementation is
built but not made available as part of the ABI. Use a check for the
blocks extension to determine how method signature is viewed rather than
controlling whether it is part of the interface.
More information about the All-commits
mailing list