Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DPrettyDeclStackTrace.h32 Decl *TheDecl; variable
39 : Context(Ctx), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
H A DStmt.h1799 LabelDecl *TheDecl; variable
1806 : ValueStmt(LabelStmtClass), TheDecl(D), SubStmt(substmt) { in LabelStmt()
1816 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
1817 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
H A DDeclBase.h1211 const Decl *TheDecl; variable
1219 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
H A DExprCXX.h925 MSPropertyDecl *TheDecl; variable
937 TheDecl(decl), MemberLoc(nameLoc), IsArrow(isArrow), in MSPropertyRefExpr()
977 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp536 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
539 if (TheDecl->getStmt()) { in ActOnLabelStmt()
549 << TheDecl << static_cast<int>(Status); in ActOnLabelStmt()
553 TheDecl->setStmt(LS); in ActOnLabelStmt()
554 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
555 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
556 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
559 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
3237 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
3239 TheDecl->markUsed(Context); in ActOnGotoStmt()
[all …]
H A DSema.cpp2158 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
2159 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
H A DSemaExpr.cpp3472 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
4508 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
5650 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
15079 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
15080 TheDecl->markUsed(Context); in ActOnAddrLabel()
15472 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
15480 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
15518 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
15527 for (auto AI : CurBlock->TheDecl->parameters()) { in ActOnBlockArguments()
15528 AI->setOwningFunction(CurBlock->TheDecl); in ActOnBlockArguments()
[all …]
H A DTreeTransform.h14054 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
14055 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
14085 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h743 BlockDecl *TheDecl;
754 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h4684 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
4759 LabelDecl *TheDecl);
5515 LabelDecl *TheDecl);
9981 NamedDecl *TheDecl);
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1084 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal() local
1086 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1088 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
1091 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1133 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal() local
1134 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp1794 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1796 DS.complete(TheDecl); in ParseSimpleDeclaration()
1798 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
1801 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
2030 Decl *TheDecl = ParseFunctionDefinition(D, ParsedTemplateInfo(), in ParseDeclGroup() local
2032 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
4204 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
4207 DS.complete(TheDecl); in ParseStructDeclaration()
H A DParseDeclCXX.cpp2740 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
2742 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2744 Decl* decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
2747 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp302 if (TheLoc.isInvalid() && TheDecl) in print()
303 TheLoc = TheDecl->getLocation(); in print()
312 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-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp2218 E->TheDecl = readDeclAs<MSPropertyDecl>(); in VisitMSPropertyRefExpr()