[all-commits] [llvm/llvm-project] d76fdf: [clang-c] introduce queries on GCC-style inline as...

wieDasDing via All-commits all-commits at lists.llvm.org
Wed Jun 25 07:09:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d76fdf7f536c45adc08bdbeaf8b78439d604faf5
      https://github.com/llvm/llvm-project/commit/d76fdf7f536c45adc08bdbeaf8b78439d604faf5
  Author: wieDasDing <6884440+dingxiangfei2009 at users.noreply.github.com>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang-c/Index.h
    A clang/test/Index/inline-assembly.c
    M clang/tools/c-index-test/c-index-test.c
    M clang/tools/libclang/CIndex.cpp
    M clang/tools/libclang/libclang.map

  Log Message:
  -----------
  [clang-c] introduce queries on GCC-style inline assembly statements (#143424)

[Discourse
link](https://discourse.llvm.org/t/a-small-proposal-for-extraction-of-inline-assembly-block-information/86658)

We strive for exposing such information using existing stable ABIs. In
doing so, queries are limited to what the original source holds or the
LLVM IR `asm` block would expose in connection with attributes that the
queries are concerned.

These APIs opens new opportunities for `rust-bindgen` to translate
inline assemblies in reasonably cases into Rust inline assembly blocks,
which would further aid better interoperability with other existing
code.

---------

Signed-off-by: Xiangfei Ding <dingxiangfei2009 at protonmail.ch>



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