[all-commits] [llvm/llvm-project] 6a6f9b: [clang] Fix assertion failure when printing atomic...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Mar 26 00:35:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a6f9bf38e65ec45b32da4b578e2830341a9b364
      https://github.com/llvm/llvm-project/commit/6a6f9bf38e65ec45b32da4b578e2830341a9b364
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M clang/lib/AST/APValue.cpp

  Log Message:
  -----------
  [clang] Fix assertion failure when printing atomic apvalues (#85259)

When printing an `_Atomic(some struct type)`, we would later run into an
assertion because we do a `Ty->castAs<RecordType>()`, which doesn't work
with an `AtomicType`.



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