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
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {} in PrettyDeclStackTraceEntry()
DScopeInfo.h471 BlockDecl *TheDecl;
482 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
DSema.h2678 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
2742 LabelDecl *TheDecl);
3269 LabelDecl *TheDecl);
/external/clang/lib/Sema/
DSemaStmt.cpp390 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
393 if (TheDecl->getStmt()) { in ActOnLabelStmt()
394 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
395 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
400 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
401 TheDecl->setStmt(LS); in ActOnLabelStmt()
402 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
403 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
404 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
2112 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
[all …]
DSema.cpp1112 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print()
1119 if (TheDecl && isa<NamedDecl>(TheDecl)) { in print()
1120 std::string Name = cast<NamedDecl>(TheDecl)->getNameAsString(); in print()
DSemaExpr.cpp2610 currentDecl = BSI->TheDecl; in ActOnPredefinedExpr()
9100 LabelDecl *TheDecl) { in ActOnAddrLabel() argument
9101 TheDecl->setUsed(); in ActOnAddrLabel()
9103 return Owned(new (Context) AddrLabelExpr(OpLoc, LabLoc, TheDecl, in ActOnAddrLabel()
9521 CurBlock->TheDecl->setSignatureAsWritten(Sig); in ActOnBlockArguments()
9529 CurBlock->TheDecl->setIsVariadic(isVariadic); in ActOnBlockArguments()
9544 CurBlock->TheDecl->setBlockMissingReturnType(false); in ActOnBlockArguments()
9567 BuildParmVarDeclForTypedef(CurBlock->TheDecl, in ActOnBlockArguments()
9576 CurBlock->TheDecl->setParams(Params); in ActOnBlockArguments()
9577 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), in ActOnBlockArguments()
[all …]
DTreeTransform.h8819 blockScope->TheDecl->setIsVariadic(oldBlock->isVariadic()); in TransformBlockExpr()
8820 blockScope->TheDecl->setBlockMissingReturnType( in TransformBlockExpr()
8855 blockScope->TheDecl->setParams(params); in TransformBlockExpr()
DSemaChecking.cpp1343 isVariadic = CurBlock->TheDecl->isVariadic(); in SemaBuiltinVAStart()
1365 LastArg = *(CurBlock->TheDecl->param_end()-1); in SemaBuiltinVAStart()
/external/clang/lib/Parse/
DParser.cpp828 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS); in ParseDeclOrFunctionDefInternal() local
829 DS.complete(TheDecl); in ParseDeclOrFunctionDefInternal()
830 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
867 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() local
868 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclOrFunctionDefInternal()
DParseDecl.cpp1311 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() local
1313 DS.complete(TheDecl); in ParseSimpleDeclaration()
1314 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration()
1506 Decl *TheDecl = in ParseDeclGroup() local
1508 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseDeclGroup()
2994 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseStructDeclaration() local
2996 DS.complete(TheDecl); in ParseStructDeclaration()
DParseDeclCXX.cpp2009 Decl *TheDecl = in ParseCXXClassMemberDeclaration() local
2011 DS.complete(TheDecl); in ParseCXXClassMemberDeclaration()
/external/clang/lib/AST/
DDeclBase.cpp183 if (TheLoc.isInvalid() && TheDecl) in print()
184 TheLoc = TheDecl->getLocation(); in print()
193 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { in print()
/external/clang/include/clang/AST/
DStmt.h770 LabelDecl *TheDecl; variable
775 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) { in LabelStmt()
782 LabelDecl *getDecl() const { return TheDecl; } in getDecl()
783 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl()
DDeclBase.h898 const Decl *TheDecl; variable
905 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {} in PrettyStackTraceDecl()