Lines Matching defs:MatchedDecl
108 const auto *MatchedDecl = Result.Nodes.getNodeAs<TypedefDecl>(TypedefName);
109 if (MatchedDecl->getLocation().isInvalid())
117 SourceLocation StartLoc = MatchedDecl->getBeginLoc();
125 if (MatchedDecl->getUnderlyingType()->isArrayType() || StartLoc.isMacroID()) {
130 const TypeLoc TL = MatchedDecl->getTypeSourceInfo()->getTypeLoc();
132 auto [Type, QualifierStr] = [MatchedDecl, this, &TL, &SM,
138 if (TypeRange.fullyContains(MatchedDecl->getLocation())) {
140 TypeRange.getBegin(), MatchedDecl->getLocation());
142 Lexer::getLocForEndOfToken(MatchedDecl->getLocation(), 0, SM, LO),
157 MatchedDecl->getLocation(), SM, LO, tok::TokenKind::star,
174 StringRef Name = MatchedDecl->getName();
175 SourceRange ReplaceRange = MatchedDecl->getSourceRange();
208 MatchedDecl->getFunctionType() ? 0 : Name.size();