[all-commits] [llvm/llvm-project] 8aea6e: [clang][Interp][NFC] Take a QualType in visitZeroI...

Timm Bäder via All-commits all-commits at lists.llvm.org
Mon Apr 24 08:58:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8aea6e004fd2edafbdee2d3d13571ab5eace004e
      https://github.com/llvm/llvm-project/commit/8aea6e004fd2edafbdee2d3d13571ab5eace004e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

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

  Log Message:
  -----------
  [clang][Interp][NFC] Take a QualType in visitZeroInitializer()

The given expression is not necessarily usable to obtain a type for,
so we can't use it to get the floating point semantics. Pass a QualType
instead, which we can use--and classify() that here.




More information about the All-commits mailing list