Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp176 bool isExcluded(const NamedDecl &RenameDecl) { in isExcluded() argument
177 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() argument
207 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 …]