[all-commits] [llvm/llvm-project] 2725e2: [clang][Interp] Fix ImplicitValueInitExprs for poi...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Jan 25 03:32:11 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2725e2c0323f1408467452e3cc2a4a8cb3ea49a7
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

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

  Log Message:
  [clang][Interp] Fix ImplicitValueInitExprs for pointer types

This previously ran into an "unknown type" assertion when trying to emit
a 'Zero' op for a pointer type. Emit a NullPtr op instead.

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

More information about the All-commits mailing list