[all-commits] [llvm/llvm-project] d91108: [Clang] Fix an incorrect assumption on getTemplate...

Younan Zhang via All-commits all-commits at lists.llvm.org
Mon Mar 17 01:54:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9110858ee938db424887cd3435488525dd632cb
      https://github.com/llvm/llvm-project/commit/d9110858ee938db424887cd3435488525dd632cb
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M clang/lib/Sema/SemaAccess.cpp
    M clang/test/SemaCXX/concept-crash-on-diagnostic.cpp

  Log Message:
  -----------
  [Clang] Fix an incorrect assumption on getTemplatedDecl() (#131559)

Since a68d20e98, we've been calling HandleDelayedAccessCheck() for
concept declarations when the declaration contains invalid member
accesses.

However, a concept declaration is TemplateDecl such that doesn't contain
any TemplatedDecl.

Fixes https://github.com/llvm/llvm-project/issues/131530



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list