Lines Matching defs:TheDecl
532 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
535 if (TheDecl->getStmt()) {
536 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName();
537 Diag(TheDecl->getLocation(), diag::note_previous_definition);
542 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
543 TheDecl->setStmt(LS);
544 if (!TheDecl->isGnuLocal()) {
545 TheDecl->setLocStart(IdentLoc);
546 if (!TheDecl->isMSAsmLabel()) {
549 TheDecl->setLocation(IdentLoc);
2909 LabelDecl *TheDecl) {
2911 TheDecl->markUsed(Context);
2912 return new (Context) GotoStmt(TheDecl, GotoLoc, LabelLoc);