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

Jan Voung via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 10 09:11:25 PST 2025


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

CXXConstructExpr instead of CallExpr, I mean

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


More information about the llvm-branch-commits mailing list