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.h571 BlockDecl *TheDecl;
582 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
DSema.h3309 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
3376 LabelDecl *TheDecl);
3978 LabelDecl *TheDecl);
7611 DeclaratorDecl *TheDecl);
/external/clang/lib/Sema/
DSema.cpp1197 if (CurBSI && CurBSI->TheDecl && in getCurBlock()
1198 !CurBSI->TheDecl->Encloses(CurContext)) { in getCurBlock()
1277 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
1284 if (TheDecl && isa<NamedDecl>(TheDecl)) { in print()
1285 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString(); in print()
DSemaStmt.cpp460 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
463 if (TheDecl->getStmt()) { in ActOnLabelStmt()
464 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
465 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
470 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
471 TheDecl->setStmt(LS); in ActOnLabelStmt()
472 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
473 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
474 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
477 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
[all …]
DSemaExpr.cpp2996 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
11047 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
11048 TheDecl->markUsed(Context); in ActOnAddrLabel()
11050 return new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
11476 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
11484 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
11492 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
11514 CurBlock->TheDecl, ParamInfo.getLocStart(), I); in ActOnBlockArguments()
11521 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
11522 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), in ActOnBlockArguments()
[all …]
DSemaChecking.cpp2417 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartImpl()
2444 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStartImpl()
2525 IsVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStartARM()
DTreeTransform.h11007 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
11008 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
11034 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
/external/clang/lib/Parse/
DParser.cpp883 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal() local
884 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
885 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
923 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local
924 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
DParseDecl.cpp1533 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1535 DS.complete(TheDecl); in ParseSimpleDeclaration()
1536 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1754 Decl *TheDecl = in ParseDeclGroup() local
1756 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
3515 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
3517 DS.complete(TheDecl); in ParseStructDeclaration()
DParseDeclCXX.cpp2405 Decl *TheDecl = in ParseCXXClassMemberDeclaration() local
2407 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
2408 return DeclGroupPtrTy::make(DeclGroupRef(TheDecl)); in ParseCXXClassMemberDeclaration()
/external/clang/lib/AST/
DDeclBase.cpp216 if (TheLoc.isInvalid() && TheDecl) in print()
217 TheLoc = TheDecl->getLocation(); in print()
226 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/external/clang/include/clang/AST/
DStmt.h779 LabelDecl *TheDecl; variable
784 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt()
794 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
795 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
DDeclBase.h1034 const Decl *TheDecl; variable
1041 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()
DExprCXX.h628 MSPropertyDecl *TheDecl; variable
642 BaseExpr(baseExpr), TheDecl(decl), in MSPropertyRefExpr()
672 MSPropertyDecl *getPropertyDecl() const { return TheDecl; } in getPropertyDecl()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1662 E->TheDecl = ReadDeclAs<MSPropertyDecl>(Record, Idx); in VisitMSPropertyRefExpr()