Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseAST.cpp145 Parser::DeclGroupPtrTy ADecl; in ParseAST() local
150 if (P.ParseTopLevelDecl(ADecl)) { in ParseAST()
158 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
160 } while (!P.ParseTopLevelDecl(ADecl)); in ParseAST()
/external/llvm-project/clang/lib/Parse/
DParseAST.cpp156 Parser::DeclGroupPtrTy ADecl; in ParseAST() local
157 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()
/external/llvm-project/clang/unittests/CodeGen/
DIncrementalProcessingTest.cpp81 Parser::DeclGroupPtrTy ADecl; in IncrementalParseAST() local
82 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()
/external/clang/test/SemaCXX/
Dast-print.cpp234 struct { int I; } ADecl; member
/external/llvm-project/clang/test/SemaCXX/
Dast-print.cpp237 struct { int I; } ADecl; member
/external/clang/lib/Sema/
DSemaOpenMP.cpp3645 auto *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local
3646 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()
DSemaDeclObjC.cpp1056 NamedDecl *ADecl = LookupSingleName(TUScope, AliasName, AliasLocation, in ActOnCompatibilityAlias() local
1058 if (ADecl) { in ActOnCompatibilityAlias()
1060 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp5627 Decl *ADecl = DG.get().getSingleDecl(); in ActOnOpenMPDeclareSimdDirective() local
5628 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 …]
DSemaDeclObjC.cpp1142 NamedDecl *ADecl = in ActOnCompatibilityAlias() local
1145 if (ADecl) { in ActOnCompatibilityAlias()
1147 Diag(ADecl->getLocation(), diag::note_previous_declaration); in ActOnCompatibilityAlias()
/external/clang/lib/AST/
DExprConstant.cpp7113 const Decl *ADecl = GetLValueBaseDecl(A); in HasSameBase() local
7114 if (!ADecl) in HasSameBase()
7117 if (!BDecl || ADecl->getCanonicalDecl() != BDecl->getCanonicalDecl()) in HasSameBase()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3215 Deserializing ADecl(this); in ReadDeclRecord() local
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp3770 Deserializing ADecl(this); in ReadDeclRecord() local