Home
last modified time | relevance | path

Searched refs:OtherDeclaration (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DInconsistentDeclarationParameterNameCheck.cpp102 const FunctionDecl *OtherDeclaration, in findDifferingParamsInDeclaration() argument
108 const auto *OtherParamIt = OtherDeclaration->param_begin(); in findDifferingParamsInDeclaration()
111 OtherParamIt != OtherDeclaration->param_end()) { in findDifferingParamsInDeclaration()
145 for (const FunctionDecl *OtherDeclaration : OriginalDeclaration->redecls()) { in findInconsistentDeclarations() local
146 SourceLocation OtherLocation = OtherDeclaration->getLocation(); in findInconsistentDeclarations()
150 OtherDeclaration, in findInconsistentDeclarations()
153 InconsistentDeclarations.emplace_back(OtherDeclaration->getLocation(), in findInconsistentDeclarations()
185 for (const FunctionDecl *OtherDeclaration : OriginalDeclaration->redecls()) { in getParameterSourceDeclaration() local
186 if (OtherDeclaration->isThisDeclarationADefinition()) { in getParameterSourceDeclaration()
187 return OtherDeclaration; in getParameterSourceDeclaration()