Lines Matching refs:addUsage
155 void RenamerClangTidyCheck::addUsage( in addUsage() function in clang::tidy::RenamerClangTidyCheck
189 void RenamerClangTidyCheck::addUsage(const NamedDecl *Decl, SourceRange Range, in addUsage() function in clang::tidy::RenamerClangTidyCheck
196 return addUsage(RenamerClangTidyCheck::NamingCheckId(Decl->getLocation(), in addUsage()
275 addUsage(Decl->getParent(), Decl->getNameInfo().getSourceRange(), in check()
282 addUsage(FD, SourceRange(Init->getMemberLocation()), in check()
300 addUsage(Decl->getParent(), Range, Result.SourceManager); in check()
318 addUsage(Decl, Loc->getSourceRange(), Result.SourceManager); in check()
329 addUsage(TemplDecl, Range, Result.SourceManager); in check()
337 addUsage(Decl, Loc->getSourceRange(), Result.SourceManager); in check()
346 addUsage(Decl, Loc->getLocalSourceRange(), Result.SourceManager); in check()
354 addUsage(Shadow->getTargetDecl(), Decl->getNameInfo().getSourceRange(), in check()
361 addUsage(DeclRef->getDecl(), Range, Result.SourceManager); in check()
368 addUsage(MemberRef->getMemberDecl(), Range, Result.SourceManager); in check()
391 addUsage(*Resolved, DepMemberRef->getMemberNameInfo().getSourceRange(), in check()
400 addUsage(UsingNS->getNominatedNamespaceAsWritten(), in check()
408 addUsage(Canonical, Decl->getLocation(), Result.SourceManager); in check()
416 addUsage(Typedef->getDecl(), Value->getSourceRange(), in check()
425 addUsage(Typedef->getDecl(), Value->getSourceRange(), in check()
430 addUsage(Typedef->getDecl(), Value->getSourceRange(), in check()
438 addUsage(Overridden, Method->getLocation()); in check()
472 addUsage(Decl, Range); in check()
490 addUsage(ID, Range); in checkMacro()
503 addUsage(ID, Range); in expandMacro()