[all-commits] [llvm/llvm-project] 54826d: [clang][Interp] Emit dummy pointers for unknown st...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Feb 15 09:13:06 PST 2024


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

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/functions.cpp

  Log Message:
  -----------
  [clang][Interp] Emit dummy pointers for unknown static locals

We used to emit dummy pointers for unknown declarations in certain
cases in C, but this is also necessary in C++.

I'm limiting this to static local variables for now.




More information about the All-commits mailing list