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.cpp164 Parser::DeclGroupPtrTy ADecl; in ParseAST() local
169 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
170 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
174 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp64 Parser::DeclGroupPtrTy ADecl; in ParseOrWrapTopLevelDecl() local
66 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
67 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
68 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseOrWrapTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp125 if (const auto *ADecl = dyn_cast<TypeAliasTemplateDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() local
126 D = ADecl->getTemplatedDecl(); in ShouldDiagnoseAvailabilityOfDecl()
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()
H A DSemaOpenMP.cpp6714 Decl *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local
6715 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in ActOnOpenMPDeclareSimdDirective()
6716 ADecl = FTD->getTemplatedDecl(); in ActOnOpenMPDeclareSimdDirective()
6718 auto *FD = dyn_cast<FunctionDecl>(ADecl); in ActOnOpenMPDeclareSimdDirective()
6720 Diag(ADecl->getLocation(), diag::err_omp_function_expected) << SimdId; in ActOnOpenMPDeclareSimdDirective()
6753 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
6809 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
6898 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
6948 ADecl->addAttr(NewAttr); in ActOnOpenMPDeclareSimdDirective()
7264 Decl *ADecl = DG.get().getSingleDecl(); in checkOpenMPDeclareVariantFunction() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3900 Deserializing ADecl(this); in ReadDeclRecord() local