[all-commits] [llvm/llvm-project] 69066a: [Clang] Fix IsOverload for function templates (#77...

cor3ntin via All-commits all-commits at lists.llvm.org
Mon Jan 8 07:59:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69066ab31959968ebcbca71f3872bdedef8fb8cd
      https://github.com/llvm/llvm-project/commit/69066ab31959968ebcbca71f3872bdedef8fb8cd
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/CXX/over/over.load/p2-0x.cpp

  Log Message:
  -----------
  [Clang] Fix IsOverload for function templates (#77323)

Functions which correspond but have different template parameter lists
are not redeclarations.

Fixes a regression introduced by af4751

(The patch just moves the template parameters check above if the
signature check)

Fixes #76358




More information about the All-commits mailing list