[all-commits] [llvm/llvm-project] 80737d: [clang][Interp][NFC] Pass PrimType to visitZeroIni...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Oct 14 09:43:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80737d2ddf05507d96cdd723fb33a6e44ac72a48
      https://github.com/llvm/llvm-project/commit/80737d2ddf05507d96cdd723fb33a6e44ac72a48
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-10-14 (Sat, 14 Oct 2023)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Pass PrimType to visitZeroInitializer()

This fixes an old FIXME comment. Almost all callers already classify()
the type anyway, so just pass the result of that
to visitZeroInitializer().




More information about the All-commits mailing list