[all-commits] [llvm/llvm-project] 304c05: [cindex] Add API to query the class methods of a t...

Trevor Laughlin via All-commits all-commits at lists.llvm.org
Sat Mar 1 12:59:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 304c053a5c7b8a67f6f3fddf9492971a57901715
      https://github.com/llvm/llvm-project/commit/304c053a5c7b8a67f6f3fddf9492971a57901715
  Author: Trevor Laughlin <trevor.w.laughlin at gmail.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M clang/bindings/python/clang/cindex.py
    M clang/bindings/python/tests/cindex/test_type.py
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang-c/Index.h
    M clang/tools/libclang/CIndexCXX.cpp
    M clang/tools/libclang/libclang.map

  Log Message:
  -----------
  [cindex] Add API to query the class methods of a type (#123539)

Inspired by https://github.com/llvm/llvm-project/pull/120300, add a new
API `clang_visitCXXMethods` to libclang (and the Python bindings) which
allows iterating over the class methods of a type.

---------

Co-authored-by: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>



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