Lines Matching refs:TheDecl
401 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
404 if (TheDecl->getStmt()) {
405 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
406 Diag(TheDecl->getLocation(), diag::note_previous_definition);
411 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
412 TheDecl->setStmt(LS);
413 if (!TheDecl->isGnuLocal()) {
414 TheDecl->setLocStart(IdentLoc);
415 TheDecl->setLocation(IdentLoc);
2301 LabelDecl *TheDecl) {
2303 TheDecl->markUsed(Context);
2304 return Owned(new (Context) GotoStmt(TheDecl, GotoLoc, LabelLoc));