[all-commits] [llvm/llvm-project] 4b0314: [clang][ASTImporter] Improve import of friend clas...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Jan 11 02:18:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b0314d14f888cc1916556574ecaa35cc118ee00
      https://github.com/llvm/llvm-project/commit/4b0314d14f888cc1916556574ecaa35cc118ee00
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp
    M clang/unittests/AST/ASTImporterTest.cpp

  Log Message:
  -----------
  [clang][ASTImporter] Improve import of friend class templates. (#74627)

A friend template that is in a dependent context is not linked into
declaration chains (for example with the definition of the befriended
template). This condition was not correctly handled by `ASTImporter`.




More information about the All-commits mailing list