Searched refs:RenameDecl (Results 1 – 1 of 1) sorted by relevance
176 bool isExcluded(const NamedDecl &RenameDecl) { in isExcluded() argument177 if (isProtoFile(RenameDecl.getLocation(), in isExcluded()178 RenameDecl.getASTContext().getSourceManager())) in isExcluded()185 return StdSymbols->count(printQualifiedName(RenameDecl)); in isExcluded()201 llvm::Optional<ReasonToReject> renameable(const NamedDecl &RenameDecl, in renameable() argument207 if (llvm::isa<NamespaceDecl>(&RenameDecl)) in renameable()209 if (const auto *FD = llvm::dyn_cast<FunctionDecl>(&RenameDecl)) { in renameable()214 if (RenameDecl.getParentFunctionOrMethod()) in renameable()217 if (isExcluded(RenameDecl)) in renameable()221 auto &ASTCtx = RenameDecl.getASTContext(); in renameable()[all …]