Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Refactoring/
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()
/external/clang/lib/Tooling/Core/
DLookup.cpp87 const NamedDecl *FromDecl, in replaceNestedName() argument
99 isa<TranslationUnitDecl>(FromDecl->getDeclContext()); in replaceNestedName()
101 !isInsideDifferentNamespaceWithSameName(FromDecl->getDeclContext(), in replaceNestedName()
/external/llvm-project/clang/unittests/AST/
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()
DASTImporterFixtures.h129 ASTUnit *ToAST, Decl *FromDecl);
132 ASTUnit *ToAST, Decl *FromDecl);
/external/llvm-project/clang-tools-extra/clang-change-namespace/
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 …]
DChangeNamespace.h75 const NamedDecl *FromDecl);
/external/clang/include/clang/Tooling/Core/
DLookup.h42 const NamedDecl *FromDecl,
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DLookup.h44 const NamedDecl *FromDecl,
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRLocFinder.cpp169 const NamedDecl *FromDecl; member
540 if (RenameInfo.FromDecl && RenameInfo.Context) { in createRenameAtomicChanges()
545 RenameInfo.Context->getDeclContext(), RenameInfo.FromDecl, in createRenameAtomicChanges()
/external/clang/lib/AST/
DASTDiagnostic.cpp1124 TemplateDecl *FromDecl = GetTemplateDecl(FromIter); in DiffTemplateTemplates() local
1126 Tree.SetTemplateTemplateDiff(FromDecl, ToDecl, FromIter.isEnd() && FromDecl, in DiffTemplateTemplates()
1128 Tree.SetSame(FromDecl && ToDecl && in DiffTemplateTemplates()
1129 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl()); in DiffTemplateTemplates()
DASTContext.cpp372 Raw.setKind(RawCommentAndCacheFlags::FromDecl); in getRawCommentForAnyRedecl()
/external/llvm-project/clang/lib/AST/
DASTDiagnostic.cpp1164 TemplateDecl *FromDecl = GetTemplateDecl(FromIter); in DiffTemplateTemplates() local
1166 Tree.SetTemplateTemplateDiff(FromDecl, ToDecl, FromIter.isEnd() && FromDecl, in DiffTemplateTemplates()
1168 Tree.SetSame(FromDecl && ToDecl && in DiffTemplateTemplates()
1169 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl()); in DiffTemplateTemplates()
DASTImporter.cpp9115 const Decl *FromDecl = in ImportAPValue() local
9117 const Decl *ImpDecl = importChecked(Err, FromDecl); in ImportAPValue()
9120 if (auto *RD = dyn_cast<CXXRecordDecl>(FromDecl)) in ImportAPValue()
9123 FromElemTy = cast<ValueDecl>(FromDecl)->getType(); in ImportAPValue()
/external/clang/include/clang/AST/
DASTContext.h634 FromDecl, enumerator