[all-commits] [llvm/llvm-project] cc55af: [clang][Interp] Only check ComparisonCategoryInfo ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Feb 6 13:02:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc55af777a19b69f466875683655810f5d485386
      https://github.com/llvm/llvm-project/commit/cc55af777a19b69f466875683655810f5d485386
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/Sema/struct-cast.c

  Log Message:
  -----------
  [clang][Interp] Only check ComparisonCategoryInfo in C++ (#80131)

Binary operators are also of struct type in C, when assigning. Don't try to get the ComparisonCategoryInfo in that case.




More information about the All-commits mailing list