Lines Matching refs:TheDecl
390 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
2114 TheDecl->setUsed(); in ActOnGotoStmt()
2115 return Owned(new (Context) GotoStmt(TheDecl, GotoLoc, LabelLoc)); in ActOnGotoStmt()