[all-commits] [llvm/llvm-project] 7d876c: [clang][Interp] Add 'Invalid' opcode and use it fo...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Jul 26 00:00:34 PDT 2023


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    M clang/lib/AST/Interp/ByteCodeStmtGen.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/records.cpp
    A clang/test/AST/Interp/unsupported.cpp

  Log Message:
  -----------
  [clang][Interp] Add 'Invalid' opcode and use it for throw stmts

We will use this opcode for conditionally executed statements that are
invalid in a constant expression.

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




More information about the All-commits mailing list