AndersRonnholm marked 2 inline comments as done. AndersRonnholm added inline comments.
================ Comment at: clang-tidy/readability/NonConstParameterCheck.cpp:147 + if (const auto *Parent = Par->getParentFunctionOrMethod()) { + if (const auto *F = dyn_cast<FunctionDecl>(Parent)) { + const auto ParDecl = ---------------- aaron.ballman wrote: > What if the parent is an `ObjCMethodDecl` instead? I don't think this checker handles objective-c Repository: rL LLVM https://reviews.llvm.org/D36672 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits