Lines Matching defs:FromDecl
756 // FromDecl with the shortest qualified name possible when the reference is in
761 const NamedDecl *FromDecl) {
768 // Note that `FromDecl` must not be defined in the old namespace (according
771 addReplacementOrDie(Start, End, FromDecl->getQualifiedNameAsString(),
789 std::string FromDeclName = FromDecl->getQualifiedNameAsString();
851 FromDecl->getQualifiedNameAsString()) {
852 ReplaceName = FromDecl->getNameAsString();
888 const auto *FromDecl = Result.Nodes.getNodeAs<NamedDecl>("from_decl");
901 // Make `FromDecl` the immediate declaration that `Type` refers to, i.e. if
902 // `Type` is an alias type, we make `FromDecl` the type alias declaration.
906 FromDecl = Typedef->getDecl();
907 if (IsInMovedNs(FromDecl))
912 FromDecl = TemplateType->getTemplateName().getAsTemplateDecl();
913 if (IsInMovedNs(FromDecl))
920 End, FromDecl);