[all-commits] [llvm/llvm-project] 635dfd: [clang][Interp] Fix a designated initializer testcase

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Feb 12 06:57:38 PST 2024


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

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

  Log Message:
  -----------
  [clang][Interp] Fix a designated initializer testcase

This protected GetPtrField and ArrayDecay ops from dummy pointers
which fixes the attached test case for designated initializers in C.




More information about the All-commits mailing list