================ @@ -699,6 +699,67 @@ static bool isSafeSpanTwoParamConstruct(const CXXConstructExpr &Node, return isPtrBufferSafe(Arg0, Arg1, Ctx); } +static bool isSafeStringViewTwoParamConstruct(const CXXConstructExpr &Node, ---------------- ziqingluo-90 wrote:
I think `isPtrBufferSafe` has covered these patterns so that you can reuse it. https://github.com/llvm/llvm-project/pull/180471 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
