[all-commits] [llvm/llvm-project] 484b95: [CIR] Implement throw within an aggregate expressi...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Jun 12 09:25:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 484b955581d976f97a47ef621c441e21c231aa23
      https://github.com/llvm/llvm-project/commit/484b955581d976f97a47ef621c441e21c231aa23
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
    M clang/test/CIR/CodeGen/ternary-throw.cpp

  Log Message:
  -----------
  [CIR] Implement throw within an aggregate expression (#203404)

This implements CIR support for throwing an exception from within a
branch of a ternary expression that represents an aggregate prvalue. We
previously had support for throwing an exception within a ternary
aggregate expression, but when the expression uses a prvalue, it goes
through a different code path. The new implementation is just calling an
existing function from a different place. The bulk of what's being added
here is the testing.



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