[all-commits] [llvm/llvm-project] 1e8fbc: [clang] WIP: Implement TTP 'reversed' pack matchin...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Mon Oct 7 17:18:37 PDT 2024


  Branch: refs/heads/users/mizvekov/clang-P0522-function-calls
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e8fbca963bb13d38ee6f9907ca8e5039bd08a8d
      https://github.com/llvm/llvm-project/commit/1e8fbca963bb13d38ee6f9907ca8e5039bd08a8d
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaTemplate/cwg2398.cpp

  Log Message:
  -----------
  [clang] WIP: Implement TTP 'reversed' pack matching for deduced function template calls.

Clang previously missed implementing the historical rule
https://eel.is/c++draft/temp.arg.template#3.sentence-3
for deduced function template calls.

This patch implements this rule, but only on the
'frelaxed-template-template-args' patch, which is
currently the default mode.

As it's negation is deprecated and will be removed soon,
this patch does not change the implementation there.

WIP, as it's missing some changes which will help in not breaking
compatibility in overload resolution.



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