================
@@ -801,14 +801,18 @@ void GenericTaintChecker::initTaintRules(CheckerContext 
&C) const {
     GlobalCRules.push_back(
         {{CDM::CLibrary, {"getenv"}}, TR::Source({{ReturnValueIndex}})});
   }
+  CheckerManager *Mgr = C.getAnalysisManager().getCheckerManager();
+  assert(Mgr);
----------------
NagyDonat wrote:

```suggestion
```

I don't think that this is necessary, the checker manager should be always 
available -- and you immediately use `Mgr->` on the next line anyway.

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

Reply via email to