]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply clang fix for assertion building llvm with libc++ 15
authorDimitry Andric <dim@FreeBSD.org>
Sun, 3 Jul 2022 19:33:22 +0000 (21:33 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Sun, 3 Jul 2022 19:33:22 +0000 (21:33 +0200)
commit3b7f365e4d1bf67d2841d02f18a998c70c27c0a0
treea6408a59f13c36f86e97eabb93f74799df526d55
parent6cea3be922110647df84a08e3a57cc395bec1d24
Apply clang fix for assertion building llvm with libc++ 15

Merge commit f1b0a4fc540f from llvm git (by Richard Smith):

  An expression should only contain an unexpanded parameter pack if it
  lexically contains a mention of the pack.

  Systematically distinguish between syntactic and semantic references to
  packs, especially when propagating dependence from a type into an
  expression. We should consult the type-as-written when computing
  syntactic dependence and should consult the semantic type when computing
  semantic dependence.

  Fixes #54402.

MFC after: 3 days
contrib/llvm-project/clang/include/clang/AST/ComputeDependence.h
contrib/llvm-project/clang/include/clang/AST/DependenceFlags.h
contrib/llvm-project/clang/include/clang/AST/Expr.h
contrib/llvm-project/clang/lib/AST/ComputeDependence.cpp
contrib/llvm-project/clang/lib/AST/ExprCXX.cpp
contrib/llvm-project/clang/lib/AST/Type.cpp