================
@@ -99,6 +99,13 @@ bool shouldTrackImplicitObjectArg(const CXXMethodDecl
*Callee) {
if (!isGslPointerType(Callee->getFunctionObjectParameterType()) &&
!isGslOwnerType(Callee->getFunctionObjectParameterType()))
return false;
+
+ // Track dereference operator for GSL pointers in STL.
+ if (isGslPointerType(Callee->getFunctionObjectParameterType()))
+ if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Callee))
----------------
usx95 wrote:
You are right. It was not needed.
https://github.com/llvm/llvm-project/pull/176643
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits