[all-commits] [llvm/llvm-project] 0dcada: [clang][Interp] Fix array subscript eval order (#1...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Aug 3 03:25:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dcada94bb1ae79f0edd91013038098c62a96b3b
      https://github.com/llvm/llvm-project/commit/0dcada94bb1ae79f0edd91013038098c62a96b3b
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/eval-order.cpp

  Log Message:
  -----------
  [clang][Interp] Fix array subscript eval order (#101804)

Always evaluate LHS first, then RHS.



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