Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DPrettyDeclStackTrace.h33 Decl *TheDecl; variable
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
DScopeInfo.h599 BlockDecl *TheDecl;
610 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
DSema.h3391 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3461 LabelDecl *TheDecl);
4071 LabelDecl *TheDecl);
7760 DeclaratorDecl *TheDecl);
/external/clang/lib/Sema/
DSema.cpp1190 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
1191 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
1270 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
1277 if (auto *ND = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
DSemaStmt.cpp461 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
464 if (TheDecl->getStmt()) { in ActOnLabelStmt()
465 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
466 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
472 TheDecl->setStmt(LS); in ActOnLabelStmt()
473 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
474 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
475 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
478 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
[all …]
DSemaExpr.cpp3061 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
3977 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
11579 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
11580 TheDecl->markUsed(Context); in ActOnAddrLabel()
11582 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
12008 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
12016 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
12024 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
12046 CurBlock->TheDecl, ParamInfo.getLocStart(), I); in ActOnBlockArguments()
12053 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
[all …]
DSemaChecking.cpp3142 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartImpl()
3170 LastArg = CurBlock->TheDecl->parameters().back(); in SemaBuiltinVAStartImpl()
3257 IsVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartARM()
DTreeTransform.h11343 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
11344 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
11374 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/external/clang/lib/Parse/
DParser.cpp891 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseDeclOrFunctionDefInternal() local
893 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
895 Decl* decls[] = {AnonRecord, TheDecl}; in ParseDeclOrFunctionDefInternal()
898 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
936 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local
937 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
DParseDecl.cpp1565 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1567 DS.complete(TheDecl); in ParseSimpleDeclaration()
1569 Decl* decls[] = {AnonRecord, TheDecl}; in ParseSimpleDeclaration()
1572 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1790 Decl *TheDecl = in ParseDeclGroup() local
1792 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
3603 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
3606 DS.complete(TheDecl); in ParseStructDeclaration()
DParseDeclCXX.cpp2421 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec( in ParseCXXClassMemberDeclaration() local
2423 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2425 Decl* decls[] = {AnonRecord, TheDecl}; in ParseCXXClassMemberDeclaration()
2428 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseCXXClassMemberDeclaration()
/external/clang/lib/AST/
DDeclBase.cpp228 if (TheLoc.isInvalid() && TheDecl) in print()
229 TheLoc = TheDecl->getLocation(); in print()
238 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/external/clang/include/clang/AST/
DStmt.h791 LabelDecl *TheDecl; variable
796 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt()
806 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
807 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
DDeclBase.h1052 const Decl *TheDecl; variable
1059 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
DExprCXX.h665 MSPropertyDecl *TheDecl; variable
679 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr()
709 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1682 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()