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

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Jan 8 22:53:47 PST 2024


  Branch: refs/heads/users/ccc/77411-cannot-resolve-this-correctly-in-transformexceptionspec
  Home:   https://github.com/llvm/llvm-project
  Commit: 0637a482c881f5ce31fd1debbc8dcc40a05c66ba
      https://github.com/llvm/llvm-project/commit/0637a482c881f5ce31fd1debbc8dcc40a05c66ba
  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 when deduce template

Fixes: #77411
When substituting deduced type, noexcept expr in function decl should be instantiated and evaluated.
ThisScrope should be switched to method context




More information about the All-commits mailing list