Searched refs:FromDecl (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DLookup.h37 /// \param FromDecl The declaration to which the nested name points.
44 const NamedDecl *FromDecl,
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DLookup.cpp188 const NamedDecl *FromDecl,
198 // However, if the `FromDecl` is a class forward declaration, the reference is
203 isa<TranslationUnitDecl>(FromDecl->getDeclContext());
205 isa<CXXRecordDecl>(FromDecl) &&
206 !cast<CXXRecordDecl>(FromDecl)->isCompleteDefinition();
208 !usingFromDifferentCanonicalNamespace(FromDecl->getDeclContext(),
185 replaceNestedName(const NestedNameSpecifier *Use, SourceLocation UseLoc, const DeclContext *UseContext, const NamedDecl *FromDecl, StringRef ReplacementString) argument
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp169 const NamedDecl *FromDecl; member in struct:clang::tooling::__anon1146::RenameLocFinder::RenameInfo
205 /*FromDecl=*/nullptr,
221 /*FromDecl=*/nullptr,
237 /*FromDecl=*/nullptr,
258 /*FromDecl=*/nullptr,
289 /*FromDecl=*/nullptr,
558 if (RenameInfo.FromDecl && RenameInfo.Context) {
563 RenameInfo.Context->getDeclContext(), RenameInfo.FromDecl,
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DASTDiagnostic.cpp1164 TemplateDecl *FromDecl = GetTemplateDecl(FromIter); local
1166 Tree.SetTemplateTemplateDiff(FromDecl, ToDecl, FromIter.isEnd() && FromDecl,
1168 Tree.SetSame(FromDecl && ToDecl &&
1169 FromDecl->getCanonicalDecl() == ToDecl->getCanonicalDecl());
H A DASTImporter.cpp9278 const Decl *FromDecl =
9280 const Decl *ImpDecl = importChecked(Err, FromDecl);
9283 if (auto *RD = dyn_cast<CXXRecordDecl>(FromDecl))
9286 FromElemTy = cast<ValueDecl>(FromDecl)->getType();

Completed in 208 milliseconds