[all-commits] [llvm/llvm-project] 8d09bd: [clang][Interp] This pointers are writable in de-/...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Mar 1 06:41:41 PST 2023


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

  Changed paths:
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp] This pointers are writable in de-/constructors

This is possible in C++20, so we need to check this when doing stores.

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




More information about the All-commits mailing list