================

----------------
zmodem wrote:

I think you've effectively moved the type check from here to the caller on line 
1897 (the other caller in UnsafeBufferUsageCtorAttrGadget::matches already 
passes a CXXConstructExpr). So this could take a CXXConstructExpr rather than a 
Stmt now.

Same for StringViewTwoParamConstructorGadget below.

https://github.com/llvm/llvm-project/pull/226605
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to