================
@@ -544,6 +545,21 @@ const ExplodedNode
*StreamChecker::getAcquisitionSite(const ExplodedNode *N,
return nullptr;
}
+static ProgramStateRef
+escapeArgs(ProgramStateRef State, CheckerContext &C, const CallEvent &Call,
+ const SmallVector<unsigned int> &EscapingArgs) {
----------------
steakhal wrote:
```suggestion
escapeArgs(ProgramStateRef State, CheckerContext &C, const CallEvent &Call,
ArrayRef<unsigned int> EscapingArgs) {
```
Views should be preferred for input parameters.
https://github.com/llvm/llvm-project/pull/79470
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits