[all-commits] [llvm/llvm-project] 903cf7: [Clang][Sema] Improve diagnostic when using imag w...

Amr Hesham via All-commits all-commits at lists.llvm.org
Thu Sep 17 10:38:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 903cf7272faf4cf2de44a4a8c33c38a1c15fb50d
      https://github.com/llvm/llvm-project/commit/903cf7272faf4cf2de44a4a8c33c38a1c15fb50d
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/imag-lvalue-with-non-complex-operand.cpp

  Log Message:
  -----------
  [Clang][Sema] Improve diagnostic when using imag with non complex as lvalue (#223510)

Improve the Clang diagnostic when the unary `__imag` operator with a
non-complex type operand is used as an lvalue

Issue #222383



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