[all-commits] [llvm/llvm-project] 4b7e86: [clang]use correct this scope to evaluate noexcept...

Congcong Cai via All-commits all-commits at lists.llvm.org
Tue Jan 9 07:48:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b7e861d136d941d86b234fbcef520fd798b26fa
      https://github.com/llvm/llvm-project/commit/4b7e861d136d941d86b234fbcef520fd798b26fa
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp

  Log Message:
  -----------
  [clang]use correct this scope to evaluate noexcept expr (#77416)

Fixes: #77411
When substituting deduced type, noexcept expr in method should be
instantiated and evaluated.
ThisScrope should be switched to method context instead of origin sema
context




More information about the All-commits mailing list