Lines Matching defs:Par
69 for (const auto *Par : FD->parameters()) {
74 const Type *ParType = Par->getType().getTypePtr();
75 if (!ParType->isReferenceType() || Par->getType().isConstQualified())
87 for (const auto *Par : CD->parameters()) {
92 const Type *ParType = Par->getType().getTypePtr();
93 if (!ParType->isReferenceType() || Par->getType().isConstQualified())
143 const ParmVarDecl *Par = It.first;
156 dyn_cast_or_null<const FunctionDecl>(Par->getParentFunctionOrMethod());
159 unsigned Index = Par->getFunctionScopeIndex();
167 diag(Par->getLocation(), "pointer parameter '%0' can be pointer to const")
168 << Par->getName() << Fixes;