[all-commits] [llvm/llvm-project] e6afac: [clang][Interp] Diagnose callsite for implicit fun...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Jul 17 05:02:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6afacc0347c8f95678d56692ebc409ae85b162c
      https://github.com/llvm/llvm-project/commit/e6afacc0347c8f95678d56692ebc409ae85b162c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp] Diagnose callsite for implicit functions

We don't have any code to point at here, so the diagnostics would just
point to the record declaration. Make them point to the call site
intead.

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




More information about the All-commits mailing list