[all-commits] [llvm/llvm-project] 476b20: [clang][bytecode] Fix ToType/FromType diagnostic o...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Nov 20 22:55:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 476b208e0115e766605e9f850982996a1d51c287
      https://github.com/llvm/llvm-project/commit/476b208e0115e766605e9f850982996a1d51c287
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
    M clang/test/AST/ByteCode/builtin-bit-cast.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix ToType/FromType diagnostic ordering (#116988)

We need to check the ToType first, then the FromType. Additionally,
remove qualifiers from the parent type of the field we're emitting a
note for.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list