[all-commits] [llvm/llvm-project] 26db3c: [clang][Interp] Handle discarding ConstantExprs

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Feb 6 05:32:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26db3c3b72d3c915ad296a5a5313210bde8ce3e1
      https://github.com/llvm/llvm-project/commit/26db3c3b72d3c915ad296a5a5313210bde8ce3e1
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/cxx20.cpp
    M clang/test/SemaCXX/cxx11-default-member-initializers.cpp

  Log Message:
  -----------
  [clang][Interp] Handle discarding ConstantExprs

Assume no side-effects in the presence of a cashed result in the form
of an APValue. This is also what the current interpreter does.




More information about the All-commits mailing list