[clang-tools-extra] [clang-tidy][libc] Ignore implicit function inline (PR #71095)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 14:05:15 PDT 2023
================
@@ -79,6 +79,10 @@ void InlineFunctionDeclCheck::check(const MatchFinder::MatchResult &Result) {
if (MethodDecl->getParent()->isLambda())
return;
+ // Ignore implicit functions (e.g. implicit constructors or destructors)
+ if (FuncDecl->isImplicit())
----------------
michaelrj-google wrote:
that works, thank you!
https://github.com/llvm/llvm-project/pull/71095
More information about the cfe-commits
mailing list