Lines Matching defs:D
48 for (Decl *D : DGR)
49 if (auto *TSD = llvm::dyn_cast<TopLevelStmtDecl>(D);
58 void HandleInlineFunctionDefinition(FunctionDecl *D) override final {
59 Consumer->HandleInlineFunctionDefinition(D);
61 void HandleInterestingDecl(DeclGroupRef D) override final {
62 Consumer->HandleInterestingDecl(D);
64 void HandleTagDeclDefinition(TagDecl *D) override final {
65 Consumer->HandleTagDeclDefinition(D);
67 void HandleTagDeclRequiredDefinition(const TagDecl *D) override final {
68 Consumer->HandleTagDeclRequiredDefinition(D);
70 void HandleCXXImplicitFunctionInstantiation(FunctionDecl *D) override final {
71 Consumer->HandleCXXImplicitFunctionInstantiation(D);
73 void HandleTopLevelDeclInObjCContainer(DeclGroupRef D) override final {
74 Consumer->HandleTopLevelDeclInObjCContainer(D);
76 void HandleImplicitImportDecl(ImportDecl *D) override final {
77 Consumer->HandleImplicitImportDecl(D);
79 void CompleteTentativeDefinition(VarDecl *D) override final {
80 Consumer->CompleteTentativeDefinition(D);
82 void CompleteExternalDeclaration(DeclaratorDecl *D) override final {
83 Consumer->CompleteExternalDeclaration(D);
88 void HandleCXXStaticMemberVarInstantiation(VarDecl *D) override final {
89 Consumer->HandleCXXStaticMemberVarInstantiation(D);
101 bool shouldSkipFunctionBody(Decl *D) override final {
102 return Consumer->shouldSkipFunctionBody(D);
292 for (Decl *D : S.WeakTopLevelDecls()) {
293 DeclGroupRef DGR(D);
395 for (NamedDecl *D : R) {
396 if (D->getTranslationUnitDecl() == MostRecentTU)
397 NamedDeclsToRemove.push_back(D);
404 for (NamedDecl *D : NamedDeclsToRemove)
405 List.remove(D);
411 for (Decl *D : MostRecentTU->decls()) {
412 auto *ND = dyn_cast<NamedDecl>(D);
416 if (ND->getDeclName().getFETokenInfo() && !D->getLangOpts().ObjC &&
417 !D->getLangOpts().CPlusPlus)