reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
923 return Declaration;
tools/clang/lib/Frontend/ASTUnit.cpp394 R.Declaration, Ctx->getLangOpts(), IsNestedNameSpecifier); 401 QualType UsageType = getDeclUsageType(*Ctx, R.Declaration); 443 if (isa<NamespaceDecl>(R.Declaration) || 444 isa<NamespaceAliasDecl>(R.Declaration)) 2021 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); 2038 DeclarationName Name = Results[I].Declaration->getDeclName();tools/clang/lib/Sema/CodeCompleteConsumer.cpp
523 return !(Result.Declaration->getIdentifier() && 524 Result.Declaration->getIdentifier()->getName().startswith(Filter)); 553 OS << *Results[I].Declaration; 673 if (!Declaration) { 681 switch (getDeclAvailability(Declaration)) { 696 if (const auto *Function = dyn_cast<FunctionDecl>(Declaration)) 700 CursorKind = getCursorKindForDecl(Declaration); 705 if (isa<ObjCInterfaceDecl>(Declaration)) 707 else if (isa<ObjCProtocolDecl>(Declaration)) 741 DeclarationName Name = Declaration->getDeclName();tools/clang/lib/Sema/SemaCodeComplete.cpp
790 R.Declaration->getDeclContext()->getRedeclContext(); 805 R.Declaration->getDeclContext()); 989 if (const auto *Method = dyn_cast<ObjCMethodDecl>(R.Declaration)) 996 QualType T = getDeclUsageType(SemaRef.Context, R.Declaration); 1021 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration || 1025 const NamedDecl *D = R.Declaration; 1043 R.Declaration = Ctor; 1044 R.CursorKind = getCursorKindForDecl(R.Declaration); 1065 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { 1074 const Decl *CanonDecl = R.Declaration->getCanonicalDecl(); 1078 if (!isInterestingDecl(R.Declaration, AsNestedNameSpecifier)) 1082 if (isConstructor(R.Declaration)) 1087 ShadowMap::iterator NamePos = SMap.find(R.Declaration->getDeclName()); 1098 Results[Index].Declaration = R.Declaration; 1098 Results[Index].Declaration = R.Declaration; 1112 ShadowMap::iterator NamePos = SM->find(R.Declaration->getDeclName()); 1153 const DeclContext *Ctx = R.Declaration->getDeclContext(); 1167 SMap[R.Declaration->getDeclName()].Add(R.Declaration, Results.size()); 1167 SMap[R.Declaration->getDeclName()].Add(R.Declaration, Results.size()); 1238 if (const auto *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { 1248 if (!isInterestingDecl(R.Declaration, AsNestedNameSpecifier)) 1252 if (isConstructor(R.Declaration)) 1259 if (!AllDeclsFound.insert(R.Declaration->getCanonicalDecl()).second) 1270 R.Declaration->getDeclContext()->getRedeclContext())) 1276 const DeclContext *Ctx = R.Declaration->getDeclContext(); 1295 if (const auto *Method = dyn_cast<CXXMethodDecl>(R.Declaration)) 1327 *cast<CXXMethodDecl>(Incumbent.Declaration), 3269 if (Declaration) { 3270 Result.addParentContext(Declaration->getDeclContext()); 3273 getPatternCompletionComment(Ctx, Declaration)) { 3334 const NamedDecl *ND = Declaration; 3339 if (const RawComment *RC = getCompletionComment(Ctx, Declaration)) { 6707 isa<ObjCMethodDecl>(R.Declaration)) { 6709 const ObjCMethodDecl *Method = cast<ObjCMethodDecl>(R.Declaration); 7388 Results.data()[Results.size() - 1].Declaration == Ivar)tools/clang/tools/extra/clangd/CodeComplete.cpp
198 const NamedDecl *D = SemaResult->Declaration; 218 if (SemaResult && SemaResult->Declaration) { 221 auto &SM = SemaResult->Declaration->getASTContext().getSourceManager(); 222 for (const Decl *RD : SemaResult->Declaration->redecls()) 274 C.SemaResult->Kind, C.SemaResult->Declaration, ContextKind); 492 return clang::clangd::getSymbolID(R.Declaration); 730 if (Result.Hidden && Result.Declaration && 731 Result.Declaration->isCXXClassMember()) 737 if (Result.Declaration && 739 && isBlacklistedMember(*Result.Declaration)) 743 if (Result.Declaration && !Context.getCXXScopeSpecifier().hasValue() && 744 isInjectedClass(*Result.Declaration)) 761 if (auto *ID = Result.Declaration->getIdentifier())tools/clang/tools/extra/clangd/ExpectedTypes.cpp
46 const NamedDecl *D = R.Declaration;
tools/clang/tools/extra/clangd/Quality.cpp53 const auto &Context = R.Declaration->getASTContext(); 93 if (R.Declaration) 94 return categorize(*R.Declaration); 184 if (SemaCCResult.Declaration) { 185 ImplementationDetail |= isImplementationDetail(SemaCCResult.Declaration); 186 if (auto *ID = SemaCCResult.Declaration->getIdentifier()) 298 if (SemaCCResult.Declaration) { 303 float DeclProximity = (hasDeclInMainFile(*SemaCCResult.Declaration) || 308 IsInstanceMember |= isInstanceMember(SemaCCResult.Declaration); 313 if (SemaCCResult.Declaration) 314 Scope = std::min(Scope, computeScope(SemaCCResult.Declaration));tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
738 Result.Declaration->getIdentifier() && 739 Result.Declaration->getIdentifier()->getName().startswith(Filter)); 780 const NamedDecl *D = R.Declaration; 781 ToInsert = R.Declaration->getNameAsString();