Home
last modified time | relevance | path

Searched refs:TheDecl (Results 1 – 16 of 16) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DPrettyDeclStackTrace.h33 Decl *TheDecl; variable
40 : Context(Ctx), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
H A DStmt.h1594 LabelDecl *TheDecl; variable
1600 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt) { in LabelStmt()
1610 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
1611 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
H A DDeclBase.h1171 const Decl *TheDecl; variable
1179 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
H A DExprCXX.h761 MSPropertyDecl *TheDecl; variable
777 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr()
811 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParser.cpp964 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal() local
966 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
968 Actions.setCurrentOpenCLExtensionForDecl(TheDecl); in ParseDeclOrFunctionDefInternal()
970 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
973 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1011 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::FileContext); in ParseDeclOrFunctionDefInternal() local
1012 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp1754 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1756 DS.complete(TheDecl); in ParseSimpleDeclaration()
1758 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
1761 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1981 Decl *TheDecl = in ParseDeclGroup() local
1983 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
3917 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
3920 DS.complete(TheDecl); in ParseStructDeclaration()
H A DParseDeclCXX.cpp2587 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
2589 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2591 Decl* decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
2594 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp492 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
495 if (TheDecl->getStmt()) { in ActOnLabelStmt()
497 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
503 TheDecl->setStmt(LS); in ActOnLabelStmt()
504 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
505 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
506 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
509 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
2851 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
2853 TheDecl->markUsed(Context); in ActOnGotoStmt()
[all …]
H A DSema.cpp1529 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
1530 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
H A DSemaExpr.cpp3077 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
4056 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
13180 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
13181 TheDecl->markUsed(Context); in ActOnAddrLabel()
13599 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
13607 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
13615 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
13644 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
13653 for (auto AI : CurBlock->TheDecl->parameters()) { in ActOnBlockArguments()
13654 AI->setOwningFunction(CurBlock->TheDecl); in ActOnBlockArguments()
[all …]
H A DTreeTransform.h12224 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
12225 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
12255 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DScopeInfo.h713 BlockDecl *TheDecl;
724 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h3753 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3825 LabelDecl *TheDecl);
4463 LabelDecl *TheDecl);
8409 DeclaratorDecl *TheDecl);
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp270 if (TheLoc.isInvalid() && TheDecl) in print()
271 TheLoc = TheDecl->getLocation(); in print()
280 if (const auto *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
H A DDecl.cpp82 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
89 if (auto *ND = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp1835 E->TheDecl = ReadDeclAs<MSPropertyDecl>(); in VisitMSPropertyRefExpr()