diff --git a/clang/lib/Analysis/UnsafeBufferUsage.cpp b/clang/lib/Analysis/UnsafeBufferUsage.cpp --- a/clang/lib/Analysis/UnsafeBufferUsage.cpp +++ b/clang/lib/Analysis/UnsafeBufferUsage.cpp @@ -1890,10 +1890,10 @@ const ParmVarDecl *Parm = FD->getParamDecl(i); if (Parm->isImplicit()) - continue; + continue; // FIXME: If a parameter has no name, it is unused in the // definition. So we could just leave it as it is. - if (!Parm->getIdentifier()) + if (!Parm->getIdentifier()) // If a parameter of a function definition has no name: return std::nullopt; if (i == ParmIdx)