Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp536 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
539 if (TheDecl->getStmt()) { in ActOnLabelStmt()
540 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
541 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
545 ReservedIdentifierStatus Status = TheDecl->isReserved(getLangOpts()); in ActOnLabelStmt()
549 << TheDecl << static_cast<int>(Status); in ActOnLabelStmt()
552 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
553 TheDecl->setStmt(LS); in ActOnLabelStmt()
554 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
555 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
[all …]
H A DSemaExpr.cpp3461 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
4471 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
5612 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
14958 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
14959 TheDecl->markUsed(Context); in ActOnAddrLabel()
14961 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
15351 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
15359 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
15367 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
15390 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
[all …]
H A DSema.cpp2088 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
2089 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
H A DTreeTransform.h13989 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
13990 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
14020 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h743 BlockDecl *TheDecl;
754 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
H A DSema.h4653 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
4728 LabelDecl *TheDecl);
5464 LabelDecl *TheDecl);
9912 NamedDecl *TheDecl);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParser.cpp1081 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal() local
1083 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
1085 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
1088 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
1130 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::File); in ParseDeclOrFunctionDefInternal() local
1131 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp1787 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1789 DS.complete(TheDecl); in ParseSimpleDeclaration()
1791 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
1794 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
2023 Decl *TheDecl = ParseFunctionDefinition(D, ParsedTemplateInfo(), in ParseDeclGroup() local
2025 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
4191 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
4194 DS.complete(TheDecl); in ParseStructDeclaration()
H A DParseDeclCXX.cpp2678 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
2680 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2682 Decl* decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
2685 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp2208 E->TheDecl = readDeclAs<MSPropertyDecl>(); in VisitMSPropertyRefExpr()