[all-commits] [llvm/llvm-project] 0354f3: [clang][Interp][NFC] Don't cast primitive types to...

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu May 4 00:57:03 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0354f31b513991d936e8a9af0a50890c48ea01b0
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

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

  Log Message:
  [clang][Interp][NFC] Don't cast primitive types to the same type

We might classify different clang types to the same interp types, so
skip the cast in that case.

No test attached since this is already exercised a few times in the
existing tests.

More information about the All-commits mailing list