Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DPrettyDeclStackTrace.h33 Decl *TheDecl; variable
39 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
DScopeInfo.h117 BlockDecl *TheDecl;
141 : FunctionScopeInfo(Diag), TheDecl(Block), TheScope(BlockScope), in BlockScopeInfo()
DSema.h1998 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
2043 LabelDecl *TheDecl);
/external/clang/lib/Parse/
DParser.cpp761 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclarationOrFunctionDefinition() local
762 DS.complete(TheDecl); in ParseDeclarationOrFunctionDefinition()
763 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclarationOrFunctionDefinition()
785 Decl *TheDecl = 0; in ParseDeclarationOrFunctionDefinition() local
787 TheDecl = ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclarationOrFunctionDefinition()
789 TheDecl = ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes()); in ParseDeclarationOrFunctionDefinition()
790 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclarationOrFunctionDefinition()
799 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclarationOrFunctionDefinition() local
800 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclarationOrFunctionDefinition()
DParseDecl.cpp755 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
757 DS.complete(TheDecl); in ParseSimpleDeclaration()
758 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
800 Decl *TheDecl = ParseFunctionDefinition(D); in ParseDeclGroup() local
801 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
DParseDeclCXX.cpp1694 Decl *TheDecl = in ParseCXXClassMemberDeclaration() local
1696 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
/external/clang/lib/Sema/
DSema.cpp798 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
805 if (TheDecl && isa<NamedDecl>(TheDecl)) { in print()
806 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString(); in print()
DSemaStmt.cpp259 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
263 if (TheDecl->getStmt()) { in ActOnLabelStmt()
264 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
265 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
270 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
271 TheDecl->setStmt(LS); in ActOnLabelStmt()
272 if (!TheDecl->isGnuLocal()) in ActOnLabelStmt()
273 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
1435 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
1437 TheDecl->setUsed(); in ActOnGotoStmt()
[all …]
DSemaExpr.cpp1141 assert(blockScope->TheDecl == static_cast<BlockDecl*>(DC)); in shouldCaptureValueReference()
2389 currentDecl = getCurBlock()->TheDecl; in ActOnPredefinedExpr()
7953 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
7954 TheDecl->setUsed(); in ActOnAddrLabel()
7956 return Owned(new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
8329 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
8337 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
8372 BuildParmVarDeclForTypedef(CurBlock->TheDecl, in ActOnBlockArguments()
8381 CurBlock->TheDecl->setParams(Params.data(), Params.size()); in ActOnBlockArguments()
8382 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), in ActOnBlockArguments()
[all …]
DSemaChecking.cpp656 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStart()
678 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStart()
DTreeTransform.h7905 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
7954 blockScope->TheDecl->setParams(params.data(), params.size()); in TransformBlockExpr()
/external/clang/lib/AST/
DDeclBase.cpp153 if (TheLoc.isInvalid() && TheDecl) in print()
154 TheLoc = TheDecl->getLocation(); in print()
163 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) in print()
/external/clang/include/clang/AST/
DStmt.h662 LabelDecl *TheDecl; variable
667 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) { in LabelStmt()
674 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
675 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
DDeclBase.h757 const Decl *TheDecl; variable
764 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()