[all-commits] [llvm/llvm-project] 82e03e: [HIP] Defer operator overloading errors

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Wed Jun 23 20:40:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82e03e494f9884e03b1ab4dfd3b55e6aa2161ade
      https://github.com/llvm/llvm-project/commit/82e03e494f9884e03b1ab4dfd3b55e6aa2161ade
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Overload.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCUDA/deferred-oeverload.cu

  Log Message:
  -----------
  [HIP] Defer operator overloading errors

Although clang is able to defer overloading resolution
diagnostics for common functions. It does not defer
overloading resolution caused diagnostics for overloaded
operators.

This patch extends the existing deferred
diagnostic mechanism and defers a diagnostic caused
by overloaded operator.

Reviewed by: Artem Belevich

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




More information about the All-commits mailing list