Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.h1844 LabelDecl *TheDecl; variable
1851 : ValueStmt(LabelStmtClass), TheDecl(D), SubStmt(substmt) { in LabelStmt()
1861 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
1862 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
H A DDeclBase.h1253 const Decl *TheDecl; variable
1261 : 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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp553 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
556 if (TheDecl->getStmt()) { in ActOnLabelStmt()
557 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
558 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
562 ReservedIdentifierStatus Status = TheDecl->isReserved(getLangOpts()); in ActOnLabelStmt()
566 << TheDecl << static_cast<int>(Status); in ActOnLabelStmt()
569 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
570 TheDecl->setStmt(LS); in ActOnLabelStmt()
571 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
572 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
[all …]
H A DSema.cpp2302 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
2303 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
H A DSemaExpr.cpp3535 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
4625 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
5853 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
16110 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
16111 TheDecl->markUsed(Context); in ActOnAddrLabel()
16114 OpLoc, LabLoc, TheDecl, Context.getPointerType(Context.VoidTy)); in ActOnAddrLabel()
16508 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
16516 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
16524 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
16547 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
[all …]
H A DTreeTransform.h14537 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
14538 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
14568 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DScopeInfo.h757 BlockDecl *TheDecl;
768 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h5068 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
5144 LabelDecl *TheDecl);
5939 LabelDecl *TheDecl);
10636 NamedDecl *TheDecl);
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParser.cpp1158 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclOrFunctionDefInternal() local
1160 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1162 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
1165 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1207 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal() local
1208 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp1880 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseSimpleDeclaration() local
1882 DS.complete(TheDecl); in ParseSimpleDeclaration()
1884 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
1887 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
2134 Decl *TheDecl = ParseFunctionDefinition(D, ParsedTemplateInfo(), in ParseDeclGroup() local
2136 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
4450 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseStructDeclaration() local
4453 DS.complete(TheDecl); in ParseStructDeclaration()
H A DParseDeclCXX.cpp2830 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
2832 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2834 Decl *decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
2837 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/openbsd-src/gnu/llvm/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_or_null<NamedDecl>(TheDecl)) { in print()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp2243 E->TheDecl = readDeclAs<MSPropertyDecl>(); in VisitMSPropertyRefExpr()