================ @@ -336,141 +592,55 @@ void FuchsiaHandleChecker::checkPreCall(const CallEvent &Call, SmallVector<SymbolRef, 1024> Handles = getFuchsiaHandleSymbols(PVD->getType(), Call.getArgSVal(Arg), State); - // Handled in checkPostCall. - if (hasFuchsiaAttr<ReleaseHandleAttr>(PVD) || - hasFuchsiaAttr<AcquireHandleAttr>(PVD)) - continue; - for (SymbolRef Handle : Handles) { const HandleState *HState = State->get<HStateMap>(Handle); - if (!HState || HState->isEscaped()) ---------------- pskrgag wrote:
Ooops, this is unintentional. I think, I debugged something there and removed these lines.. https://github.com/llvm/llvm-project/pull/111588 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits