[all-commits] [llvm/llvm-project] 2bed2a: [clang][Interp] Emit dummy values for unknown C va...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Oct 7 07:00:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bed2a7a5cc133cf2405cdea14bc52c16bb697dd
      https://github.com/llvm/llvm-project/commit/2bed2a7a5cc133cf2405cdea14bc52c16bb697dd
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Program.cpp
    M clang/lib/AST/Interp/Program.h
    M clang/test/AST/Interp/c.c

  Log Message:
  -----------
  [clang][Interp] Emit dummy values for unknown C variables (#66749)

We can't load anything from them, but we can still take their address or
return them as lvalues.




More information about the All-commits mailing list