[all-commits] [llvm/llvm-project] a54358: [HIP][OpenMP] Fix assertion in deferred diag

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Oct 25 08:08:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5435844f0e67c70963a1a743fef41b1a8eac4d3
      https://github.com/llvm/llvm-project/commit/a5435844f0e67c70963a1a743fef41b1a8eac4d3
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M clang/lib/Sema/UsedDeclVisitor.h
    M clang/test/OpenMP/deferred-diags.cpp

  Log Message:
  -----------
  [HIP][OpenMP] Fix assertion in deferred diag

Fix assertion in UsedDeclVisitor where clang is trying to look up a destructor
for a forward declared class.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=52250

Reviewed by: Artem Belevich, John McCall

Differential Revision: https://reviews.llvm.org/D112235




More information about the All-commits mailing list