[all-commits] [llvm/llvm-project] 8f19f9: [Concepts] Add missing CXXThisScope to function te...

Saar Raz via All-commits all-commits at lists.llvm.org
Tue Feb 4 15:11:23 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f19f984f296c8ddbb16dc1623e8a4bd6bfed111
      https://github.com/llvm/llvm-project/commit/8f19f984f296c8ddbb16dc1623e8a4bd6bfed111
  Author: Saar Raz <saar at raz.email>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M clang/lib/Sema/SemaConcept.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaTemplate/instantiate-requires-clause.cpp

  Log Message:
  -----------
  [Concepts] Add missing CXXThisScope to function template constraint substitution

We did not have a CXXThisScope around constraint checking of functions and
function template specializations, causing a crash when checking a constraint
that had a 'this' (bug 44689).

Recommit after fixing test.

(cherry picked from commit 6c232441564f8934477e418347bf0c217abb0a00)




More information about the All-commits mailing list