================ @@ -118,45 +118,45 @@ static void updateAssignmentLevel( } } -static std::pair<const FieldDecl *, const Expr *> +static std::optional<std::pair<const FieldDecl *, const Expr *>> ---------------- PiotrZSL wrote:
Consider changing this std::pair into normal struct, in such way there will be no need to make aliases to fields later in check method https://github.com/llvm/llvm-project/pull/71006 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits