[all-commits] [llvm/llvm-project] 72d85b: [clang][Interp] Emit Error op for contains-error e...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Mar 15 02:53:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72d85b0315628c982be21c7aada59b6f9274de90
      https://github.com/llvm/llvm-project/commit/72d85b0315628c982be21c7aada59b6f9274de90
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/if.cpp

  Log Message:
  -----------
  [clang][Interp] Emit Error op for contains-error expressions

Instead of aborting interpretation right away. This way we can still
successfully evaluate such functions provided we don't reach the
Error op at all.



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