[all-commits] [llvm/llvm-project] 170c19: [clang][Interp] Fix CFStringMakeConstantString etc...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Jun 22 09:55:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 170c194ec19c76deee33d8aa8b288368c574f7a0
      https://github.com/llvm/llvm-project/commit/170c194ec19c76deee33d8aa8b288368c574f7a0
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-22 (Sat, 22 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/test/CodeGen/cfstring.c

  Log Message:
  -----------
  [clang][Interp] Fix CFStringMakeConstantString etc. evaluation

We're ultimately expected to return an APValue simply pointing to
the CallExpr, not any useful value. Do that by creating a global
variable for the call.



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