================
@@ -401,7 +402,12 @@ void FactsGenerator::VisitCXXOperatorCallExpr(const
CXXOperatorCallExpr *OCE) {
handleAssignment(OCE->getArg(0), OCE->getArg(1));
return;
}
- VisitCallExpr(OCE);
+
+ ArrayRef Args = {OCE->getArgs(), OCE->getNumArgs()};
+ if (OCE->getOperator() == OO_Call && OCE->getDirectCallee()->isStatic()) {
+ Args = Args.slice(1);
+ }
----------------
NeKon69 wrote:
Oops didn't notice your last message
https://github.com/llvm/llvm-project/pull/187853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits