[all-commits] [llvm/llvm-project] e59681: [clang][Interp] Allow inc/dec on boolean values

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Mar 1 07:25:04 PST 2024


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

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/literals.cpp
    M clang/test/SemaCXX/bool.cpp

  Log Message:
  -----------
  [clang][Interp] Allow inc/dec on boolean values

The warnings or errors are emitted in Sema, but we still need to
do the operation and provide a reasonable result.



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