================ @@ -255,7 +255,7 @@ bool InstallAPIVisitor::VisitFunctionDecl(const FunctionDecl *D) { return true; // Skip methods in CXX RecordDecls. - for (auto P : D->getASTContext().getParents(*M)) { + for (const auto &P : D->getASTContext().getParents(*M)) { ---------------- smanna12 wrote:
Thanks you @cyndyishida for the reviews. I have updated patch to be explicit about the type and the title. https://github.com/llvm/llvm-project/pull/86808 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits