Home
last modified time | relevance | path

Searched refs:ADecl (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp165 Parser::DeclGroupPtrTy ADecl; in ParseAST() local
170 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
171 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
175 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp269 Parser::DeclGroupPtrTy ADecl; in ParseOrWrapTopLevelDecl() local
271 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
272 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
273 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseOrWrapTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp111 if (const auto *ADecl = dyn_cast<TypeAliasTemplateDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() local
112 D = ADecl->getTemplatedDecl(); in ShouldDiagnoseAvailabilityOfDecl()
H A DSemaOpenMP.cpp6788 Decl *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local
6789 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in ActOnOpenMPDeclareSimdDirective()
6790 ADecl = FTD->getTemplatedDecl(); in ActOnOpenMPDeclareSimdDirective()
6792 auto *FD = dyn_cast<FunctionDecl>(ADecl); in ActOnOpenMPDeclareSimdDirective()
6794 Diag(ADecl->getLocation(), diag::err_omp_function_expected) << SimdId; in ActOnOpenMPDeclareSimdDirective()
6827 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
6883 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
6970 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
7020 ADecl->addAttr(NewAttr); in ActOnOpenMPDeclareSimdDirective()
7315 Decl *ADecl = DG.get().getSingleDecl(); in checkOpenMPDeclareVariantFunction() local
[all …]
H A DSemaDeclObjC.cpp1149 NamedDecl *ADecl = SemaRef.LookupSingleName( in ActOnCompatibilityAlias() local
1152 if (ADecl) { in ActOnCompatibilityAlias()
1154 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3827 Deserializing ADecl(this); in ReadDeclRecord() local