[all-commits] [llvm/llvm-project] d8c8c8: [clang][Interp] Diagnose dummy assignments differe...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri May 24 07:41:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8c8c8c7b91ce51f3e2fc088a5fd365b23cd9889
      https://github.com/llvm/llvm-project/commit/d8c8c8c7b91ce51f3e2fc088a5fd365b23cd9889
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/test/AST/Interp/cxx03.cpp

  Log Message:
  -----------
  [clang][Interp] Diagnose dummy assignments differently

Incremental change here, but a step in the right direction. Before,
an assignment to a dummy variable was diagnosed as a "read of a
non-const variable".



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