================ @@ -79,6 +79,10 @@ void InlineFunctionDeclCheck::check(const MatchFinder::MatchResult &Result) { if (MethodDecl->getParent()->isLambda()) return; + // Ignore functions that have been deleted. + if (FuncDecl->isDeleted()) ---------------- PiotrZSL wrote:
Instead of this simply use: ``` void InlineFunctionDeclCheck::registerMatchers(MatchFinder *Finder) { Finder->addMatcher(functionDecl(unless(isDeleted())).bind("func_decl"), this); } ``` https://github.com/llvm/llvm-project/pull/71095 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits