[all-commits] [llvm/llvm-project] 5d086c: [Clang] perform "maximum TLS alignment" check for ...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Sun Oct 30 22:40:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d086cce8b92680a2cdadf1f07d4267cd374122e
      https://github.com/llvm/llvm-project/commit/5d086cce8b92680a2cdadf1f07d4267cd374122e
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/Sema/tls_alignment.cpp

  Log Message:
  -----------
  [Clang] perform "maximum TLS alignment" check for template instantiation

follow up https://github.com/llvm/llvm-project/commit/d30e2eefc3cf8dfd2210aefd62f13a6e7c011b43

Reviewed By: mizvekov

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


  Commit: e18c2c5548f6864def4a110239395a18afc195d6
      https://github.com/llvm/llvm-project/commit/e18c2c5548f6864def4a110239395a18afc195d6
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaConcept.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/CXX/over/over.match/over.match.best/p2.cpp
    A clang/test/CXX/temp/temp.constr/temp.constr.order/non-template-functions.cpp

  Log Message:
  -----------
  [Clang] use non-instantiated function declaration for constraints partial ordering

Per wordings in
- https://eel.is/c++draft/over.match#best.general-2.6
- https://eel.is/c++draft/temp.constr.order
- https://eel.is/c++draft/temp.constr#atomic-1

constraints partial ordering should use the unsubstituted template
parameters of the constrained entity, not the instantiated entity.

Fix #56154

Reviewed By: erichkeane, royjacobson, mizvekov

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


Compare: https://github.com/llvm/llvm-project/compare/d1115c2b84d4...e18c2c5548f6


More information about the All-commits mailing list