Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DPrettyDeclStackTrace.h31 Decl *TheDecl; variable
38 : Context(Ctx), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
H A DStmt.h2030 LabelDecl *TheDecl; variable
2037 : ValueStmt(LabelStmtClass), TheDecl(D), SubStmt(substmt) { in LabelStmt()
2047 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
2048 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
H A DDeclBase.h1298 const Decl *TheDecl; variable
1306 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
H A DExprCXX.h931 MSPropertyDecl *TheDecl; variable
943 TheDecl(decl), MemberLoc(nameLoc), IsArrow(isArrow), in MSPropertyRefExpr()
983 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp557 if (TheDecl->getStmt()) { in ActOnLabelStmt()
567 << TheDecl << static_cast<int>(Status); in ActOnLabelStmt()
571 TheDecl->setStmt(LS); in ActOnLabelStmt()
572 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
573 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
574 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
577 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
3294 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
3296 TheDecl->markUsed(Context); in ActOnGotoStmt()
3297 return new (Context) GotoStmt(TheDecl, GotoLoc, LabelLoc); in ActOnGotoStmt()
[all …]
H A DSemaExpr.cpp4823 DC = BSI->TheDecl; in CheckUnaryExprOrTypeTraitOperand()
6108 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
16613 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
16614 TheDecl->markUsed(Context); in ActOnAddrLabel()
17017 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
17025 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
17063 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
17072 for (auto *AI : CurBlock->TheDecl->parameters()) { in ActOnBlockArguments()
17073 AI->setOwningFunction(CurBlock->TheDecl); in ActOnBlockArguments()
17083 CurBlock->TheDecl->setInvalidDecl(); in ActOnBlockArguments()
[all …]
H A DSema.cpp2348 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
2349 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
H A DTreeTransform.h14820 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
14821 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
14851 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1187 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclOrFunctionDefInternal() local
1189 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1190 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseDeclOrFunctionDefInternal()
1192 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
1195 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1240 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal() local
1241 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp2013 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseSimpleDeclaration() local
2015 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseSimpleDeclaration()
2016 DS.complete(TheDecl); in ParseSimpleDeclaration()
2018 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
2021 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
2272 Decl *TheDecl = ParseFunctionDefinition(D, ParsedTemplateInfo(), in ParseDeclGroup() local
2274 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
4631 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseStructDeclaration() local
4634 DS.complete(TheDecl); in ParseStructDeclaration()
H A DParseDeclCXX.cpp2873 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
2875 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseCXXClassMemberDeclaration()
2876 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2878 Decl *decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
2881 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h769 BlockDecl *TheDecl;
780 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h5194 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
5270 LabelDecl *TheDecl);
6093 LabelDecl *TheDecl);
10954 NamedDecl *TheDecl);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp311 if (TheLoc.isInvalid() && TheDecl) in print()
312 TheLoc = TheDecl->getLocation(); in print()
321 if (const auto *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
H A DDecl.cpp83 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
90 if (auto *ND = dyn_cast_if_present<NamedDecl>(TheDecl)) { in print()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp2294 E->TheDecl = readDeclAs<MSPropertyDecl>(); in VisitMSPropertyRefExpr()