[all-commits] [llvm/llvm-project] 33af11: [clang][Interp] Fix modifying const objects in fun...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sun Jul 14 09:08:06 PDT 2024


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

  Changed paths:
    M clang/lib/AST/Interp/Interp.cpp
    M clang/test/AST/Interp/records.cpp

  Log Message:
  -----------
  [clang][Interp] Fix modifying const objects in functions calls in ctors

The current frame might not be a constructor for the object we're
initializing, but a parent frame might.



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