Lines Matching refs:TheDecl
553 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt() argument
556 if (TheDecl->getStmt()) { in ActOnLabelStmt()
557 Diag(IdentLoc, diag::err_redefinition_of_label) << TheDecl->getDeclName(); in ActOnLabelStmt()
558 Diag(TheDecl->getLocation(), diag::note_previous_definition); in ActOnLabelStmt()
562 ReservedIdentifierStatus Status = TheDecl->isReserved(getLangOpts()); in ActOnLabelStmt()
566 << TheDecl << static_cast<int>(Status); in ActOnLabelStmt()
569 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
570 TheDecl->setStmt(LS); in ActOnLabelStmt()
571 if (!TheDecl->isGnuLocal()) { in ActOnLabelStmt()
572 TheDecl->setLocStart(IdentLoc); in ActOnLabelStmt()
573 if (!TheDecl->isMSAsmLabel()) { in ActOnLabelStmt()
576 TheDecl->setLocation(IdentLoc); in ActOnLabelStmt()
3275 LabelDecl *TheDecl) { in ActOnGotoStmt() argument
3277 TheDecl->markUsed(Context); in ActOnGotoStmt()
3278 return new (Context) GotoStmt(TheDecl, GotoLoc, LabelLoc); in ActOnGotoStmt()