Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DLookup.cpp188 const NamedDecl *FromDecl, in replaceNestedName() argument
203 isa<TranslationUnitDecl>(FromDecl->getDeclContext()); in replaceNestedName()
205 isa<CXXRecordDecl>(FromDecl) && in replaceNestedName()
206 !cast<CXXRecordDecl>(FromDecl)->isCompleteDefinition(); in replaceNestedName()
208 !usingFromDifferentCanonicalNamespace(FromDecl->getDeclContext(), in replaceNestedName()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.cpp81 Decl *FromDecl) { in import() argument
83 if (auto ImportedOrErr = Importer->Import(FromDecl)) in import()
93 Decl *FromDecl) { in importOrError() argument
95 return Importer->Import(FromDecl); in importOrError()
H A DASTImporterFixtures.h129 ASTUnit *ToAST, Decl *FromDecl);
132 ASTUnit *ToAST, Decl *FromDecl);
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp764 const NamedDecl *FromDecl) { in replaceQualifiedSymbolInDeclContext() argument
774 addReplacementOrDie(Start, End, FromDecl->getQualifiedNameAsString(), in replaceQualifiedSymbolInDeclContext()
792 std::string FromDeclName = FromDecl->getQualifiedNameAsString(); in replaceQualifiedSymbolInDeclContext()
854 FromDecl->getQualifiedNameAsString()) { in replaceQualifiedSymbolInDeclContext()
855 ReplaceName = FromDecl->getNameAsString(); in replaceQualifiedSymbolInDeclContext()
891 const auto *FromDecl = Result.Nodes.getNodeAs<NamedDecl>("from_decl"); in fixTypeLoc() local
909 FromDecl = Typedef->getDecl(); in fixTypeLoc()
910 if (IsInMovedNs(FromDecl)) in fixTypeLoc()
915 FromDecl = TemplateType->getTemplateName().getAsTemplateDecl(); in fixTypeLoc()
916 if (IsInMovedNs(FromDecl)) in fixTypeLoc()
[all …]
H A DChangeNamespace.h75 const NamedDecl *FromDecl);
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DLookup.h44 const NamedDecl *FromDecl,
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp169 const NamedDecl *FromDecl; member
558 if (RenameInfo.FromDecl && RenameInfo.Context) { in createRenameAtomicChanges()
563 RenameInfo.Context->getDeclContext(), RenameInfo.FromDecl, in createRenameAtomicChanges()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTDiagnostic.cpp1200 TemplateDecl *FromDecl = GetTemplateDecl(FromIter); in DiffTemplateTemplates() local
1202 Tree.SetTemplateTemplateDiff(FromDecl, ToDecl, FromIter.isEnd() && FromDecl, in DiffTemplateTemplates()
1204 Tree.SetSame(FromDecl && ToDecl && in DiffTemplateTemplates()
1205 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl()); in DiffTemplateTemplates()
H A DASTImporter.cpp9788 const Decl *FromDecl = in ImportAPValue() local
9790 const Decl *ImpDecl = importChecked(Err, FromDecl); in ImportAPValue()
9793 if (auto *RD = dyn_cast<CXXRecordDecl>(FromDecl)) in ImportAPValue()
9796 FromElemTy = cast<ValueDecl>(FromDecl)->getType(); in ImportAPValue()