[all-commits] [llvm/llvm-project] 4597e3: [libclang]: visit BindingDecl in DecompositionDecl

Milian Wolff via All-commits all-commits at lists.llvm.org
Sat May 2 13:20:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4597e3bd475badff9f81e5d738913cd841bc3c1d
      https://github.com/llvm/llvm-project/commit/4597e3bd475badff9f81e5d738913cd841bc3c1d
  Author: Milian Wolff <milian.wolff at kdab.com>
  Date:   2020-05-02 (Sat, 02 May 2020)

  Changed paths:
    A clang/test/Index/cxx17-structured-binding.cpp
    M clang/tools/libclang/CIndex.cpp
    M clang/tools/libclang/CursorVisitor.h

  Log Message:
  -----------
  [libclang]: visit BindingDecl in DecompositionDecl

This makes the BindingDecl accessible to consumers of libclang
as CXCursor_UnexposedDecl where previously these AST nodes were
not visited at all from the libclang API.

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


  Commit: 08e18126431878373abfa33136768d0ec7c13def
      https://github.com/llvm/llvm-project/commit/08e18126431878373abfa33136768d0ec7c13def
  Author: Milian Wolff <milian.wolff at kdab.com>
  Date:   2020-05-02 (Sat, 02 May 2020)

  Changed paths:
    A clang/test/Index/cxx17-if-with-initializer.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [libclang]: visit C++17 if init statements

This makes the previously unaccessible AST nodes for C++17 "if with
init statements" accessible to consumers of libclang.

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


Compare: https://github.com/llvm/llvm-project/compare/cb9ae0025c4e...08e181264318


More information about the All-commits mailing list