[all-commits] [llvm/llvm-project] 7aabdb: [clang][Interp][NFC] Protect ByteCodeEmitter again...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jul 18 00:06:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aabdb8776eb11b90d43162254db47df46806ec9
      https://github.com/llvm/llvm-project/commit/7aabdb8776eb11b90d43162254db47df46806ec9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-18 (Thu, 18 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Protect ByteCodeEmitter against unfinished fns

This is similar to a check in TextNodeDumper.cpp. Without this, we will
crash later when trying to iterate over FuncDecl->params().



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