Home
last modified time | relevance | path

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

/freebsd/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.h2037 LabelDecl *TheDecl;
2044 : ValueStmt(LabelStmtClass), TheDecl(D), SubStmt(substmt) {
2054 LabelDecl *getDecl() const { return TheDecl; }
2055 void setDecl(LabelDecl *D) { TheDecl = D; }
H A DDeclBase.h1287 const Decl *TheDecl; variable
1295 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
H A DExprCXX.h935 MSPropertyDecl *TheDecl; variable
947 TheDecl(decl), MemberLoc(nameLoc), IsArrow(isArrow), in MSPropertyRefExpr()
987 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp572 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
575 if (TheDecl->getStmt()) { in ActOnLabelStmt()
576 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
577 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
581 ReservedIdentifierStatus Status = TheDecl->isReserved(getLangOpts()); in ActOnLabelStmt()
585 << TheDecl << static_cast<int>(Status); in ActOnLabelStmt()
593 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
594 TheDecl->setStmt(LS); in ActOnLabelStmt()
595 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
596 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
[all …]
H A DSemaExpr.cpp4575 DC = BSI->TheDecl; in CheckUnaryExprOrTypeTraitOperand()
5287 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
15607 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
15608 TheDecl->markUsed(Context); in ActOnAddrLabel()
15611 OpLoc, LabLoc, TheDecl, Context.getPointerType(Context.VoidTy)); in ActOnAddrLabel()
16010 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
16018 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
16026 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
16049 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
16056 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
[all …]
H A DSema.cpp2350 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
2351 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
H A DTreeTransform.h15854 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
15855 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
15885 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1192 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclOrFunctionDefInternal() local
1194 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1195 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseDeclOrFunctionDefInternal()
1197 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
1200 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1245 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal() local
1246 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp2118 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseSimpleDeclaration() local
2120 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseSimpleDeclaration()
2121 DS.complete(TheDecl); in ParseSimpleDeclaration()
2123 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
2126 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
2395 Decl *TheDecl = nullptr; in ParseDeclGroup() local
2402 TheDecl = ParseFunctionDefinition(D, ParsedTemplateInfo(), in ParseDeclGroup()
2418 TheDecl = ParseFunctionDefinition( in ParseDeclGroup()
2426 TheDecl = in ParseDeclGroup()
2430 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
[all …]
H A DParseDeclCXX.cpp3038 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
3040 Actions.ActOnDefinedDeclarationSpecifier(TheDecl); in ParseCXXClassMemberDeclaration()
3041 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
3043 Decl *decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
3046 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h786 BlockDecl *TheDecl;
797 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h1914 NamedDecl *TheDecl);
7061 LabelDecl *TheDecl);
10699 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
10804 LabelDecl *TheDecl);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp333 if (TheLoc.isInvalid() && TheDecl) in print()
334 TheLoc = TheDecl->getLocation(); in print()
343 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/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp2314 E->TheDecl = readDeclAs<MSPropertyDecl>(); in VisitMSPropertyRefExpr()