Searched refs:ADecl (Results 1 – 12 of 12) sorted by relevance
145 Parser::DeclGroupPtrTy ADecl; in ParseAST() local150 if (P.ParseTopLevelDecl(ADecl)) { in ParseAST()158 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()160 } while (!P.ParseTopLevelDecl(ADecl)); in ParseAST()
156 Parser::DeclGroupPtrTy ADecl; in ParseAST() local157 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl); !AtEOF; in ParseAST()158 AtEOF = P.ParseTopLevelDecl(ADecl)) { in ParseAST()162 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
81 Parser::DeclGroupPtrTy ADecl; in IncrementalParseAST() local82 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl); !AtEOF; in IncrementalParseAST()83 AtEOF = P.ParseTopLevelDecl(ADecl)) { in IncrementalParseAST()87 if (ADecl && !CG.HandleTopLevelDecl(ADecl.get())) in IncrementalParseAST()
234 struct { int I; } ADecl; member
237 struct { int I; } ADecl; member
3645 auto *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local3646 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in ActOnOpenMPDeclareSimdDirective()3647 ADecl = FTD->getTemplatedDecl(); in ActOnOpenMPDeclareSimdDirective()3649 auto *FD = dyn_cast<FunctionDecl>(ADecl); in ActOnOpenMPDeclareSimdDirective()3651 Diag(ADecl->getLocation(), diag::err_omp_function_expected); in ActOnOpenMPDeclareSimdDirective()3684 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()3739 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()3825 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()3872 ADecl->addAttr(NewAttr); in ActOnOpenMPDeclareSimdDirective()3873 return ConvertDeclToDeclGroup(ADecl); in ActOnOpenMPDeclareSimdDirective()
1056 NamedDecl *ADecl = LookupSingleName(TUScope, AliasName, AliasLocation, in ActOnCompatibilityAlias() local1058 if (ADecl) { in ActOnCompatibilityAlias()1060 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
5627 Decl *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local5628 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in ActOnOpenMPDeclareSimdDirective()5629 ADecl = FTD->getTemplatedDecl(); in ActOnOpenMPDeclareSimdDirective()5631 auto *FD = dyn_cast<FunctionDecl>(ADecl); in ActOnOpenMPDeclareSimdDirective()5633 Diag(ADecl->getLocation(), diag::err_omp_function_expected) << SimdId; in ActOnOpenMPDeclareSimdDirective()5666 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()5722 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()5809 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()5857 ADecl->addAttr(NewAttr); in ActOnOpenMPDeclareSimdDirective()6112 Decl *ADecl = DG.get().getSingleDecl(); in checkOpenMPDeclareVariantFunction() local[all …]
1142 NamedDecl *ADecl = in ActOnCompatibilityAlias() local1145 if (ADecl) { in ActOnCompatibilityAlias()1147 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
7113 const Decl *ADecl = GetLValueBaseDecl(A); in HasSameBase() local7114 if (!ADecl) in HasSameBase()7117 if (!BDecl || ADecl->getCanonicalDecl() != BDecl->getCanonicalDecl()) in HasSameBase()
3215 Deserializing ADecl(this); in ReadDeclRecord() local
3770 Deserializing ADecl(this); in ReadDeclRecord() local