Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseAST.cpp156 Parser::DeclGroupPtrTy ADecl; in ParseAST() local
161 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
162 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
166 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DIncrementalParser.cpp169 Parser::DeclGroupPtrTy ADecl; in ParseOrWrapTopLevelDecl() local
171 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
172 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
176 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseOrWrapTopLevelDecl()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dast-print.cpp237 struct { int I; } ADecl; member
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTransferTest.cpp2760 const ValueDecl *ADecl = findValueDecl(ASTCtx, "A"); in TEST() local
2761 ASSERT_THAT(ADecl, NotNull()); in TEST()
2764 dyn_cast_or_null<BoolValue>(Env.getValue(*ADecl, SkipPast::None)); in TEST()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp1143 NamedDecl *ADecl = in ActOnCompatibilityAlias() local
1146 if (ADecl) { in ActOnCompatibilityAlias()
1148 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
H A DSemaOpenMP.cpp6776 Decl *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local
6777 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in ActOnOpenMPDeclareSimdDirective()
6778 ADecl = FTD->getTemplatedDecl(); in ActOnOpenMPDeclareSimdDirective()
6780 auto *FD = dyn_cast<FunctionDecl>(ADecl); in ActOnOpenMPDeclareSimdDirective()
6815 << FD->getDeclName() << (isa<CXXMethodDecl>(ADecl) ? 1 : 0); in ActOnOpenMPDeclareSimdDirective()
7006 ADecl->addAttr(NewAttr); in ActOnOpenMPDeclareSimdDirective()
7289 Decl *ADecl = DG.get().getSingleDecl(); in checkOpenMPDeclareVariantFunction() local
7290 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(ADecl)) in checkOpenMPDeclareVariantFunction()
7291 ADecl = FTD->getTemplatedDecl(); in checkOpenMPDeclareVariantFunction()
7294 auto *FD = dyn_cast<FunctionDecl>(ADecl); in checkOpenMPDeclareVariantFunction()
[all …]
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp3546 Deserializing ADecl(this); in ReadDeclRecord() local