[all-commits] [llvm/llvm-project] 7091ca: [clang] Add missing LinkageSpec case to getCursorK...

Sebastian Poeplau via All-commits all-commits at lists.llvm.org
Fri Nov 24 08:11:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7091ca1ae3a87479b6febdf1c3a324d707c633d9
      https://github.com/llvm/llvm-project/commit/7091ca1ae3a87479b6febdf1c3a324d707c633d9
  Author: Sebastian Poeplau <poeplau at adacore.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/test/Index/recursive-cxx-member-calls.cpp
    M clang/tools/c-index-test/c-index-test.c

  Log Message:
  -----------
  [clang] Add missing LinkageSpec case to getCursorKindForDecl (#72401)

The LinkageSpec case was omitted, and there is a declared CXCursor_Kind
for it. Adapt the testsuite drivers to print mangled names for
declarations with extern linkage. Also update the test baseline for the
recursive-cxx-member-calls.cpp test.

Co-authored-by: Matthieu Eyraud <eyraud at adacore.com>




More information about the All-commits mailing list