================
@@ -523,6 +530,9 @@ void FactsGenerator::VisitConditionalOperator(const
ConditionalOperator *CO) {
bool FirstFlow = true;
auto HandleFlow = [&](const Expr *E) {
+ // An arm with no origins (e.g. a `throw`/void arm) carries no loans.
+ if (!getOriginsList(*E))
+ return;
----------------
Xazax-hun wrote:
Oh, will double check!
https://github.com/llvm/llvm-project/pull/204439
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits