[all-commits] [llvm/llvm-project] 89361e: [clang][Interp] Fix passing parameters of composit...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 17 03:08:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89361e2b98a9ce355bdde0ae02425ecbe5f9c06d
      https://github.com/llvm/llvm-project/commit/89361e2b98a9ce355bdde0ae02425ecbe5f9c06d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp
    M clang/lib/AST/Interp/ByteCodeEmitter.h
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    M clang/lib/AST/Interp/Context.h
    M clang/lib/AST/Interp/EvalEmitter.h

  Log Message:
  -----------
  [clang][Interp] Fix passing parameters of composite type

We pass these as pointers, so we need to be careful not to emit pointers
to pointers when we emit visit DeclRefExprs pointing to parameters.

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




More information about the All-commits mailing list