[llvm-branch-commits] [clang] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 10 13:59:17 PST 2025


================
@@ -1130,6 +1150,10 @@ buildTransferMatchSwitch(ASTContext &Ctx,
                                           transferValueAssignmentCall)
       .CaseOfCFGStmt<CXXConstructExpr>(isStatusOrValueConstructor(),
                                        transferValueConstructor)
+      .CaseOfCFGStmt<CallExpr>(isStatusOrOperatorCallWithName("->"),
----------------
fmayer wrote:

done

https://github.com/llvm/llvm-project/pull/170950


More information about the llvm-branch-commits mailing list