[all-commits] [llvm/llvm-project] e5936b: [clang][Interp][NFC] Fix toAPValue() for array roo...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed May 22 03:25:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5936b245e9af0cea69a7e4eae22a05b7ffcf5a3
      https://github.com/llvm/llvm-project/commit/e5936b245e9af0cea69a7e4eae22a05b7ffcf5a3
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Fix toAPValue() for array root pointers

isArrayElement() returns false for them, so we used to add the decl
to the path, causing wrong APValues to be generated.



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