Lines Matching refs:GS
97 void CheckGotoStmt(GotoStmt *GS);
367 if (auto *GS = dyn_cast<GCCAsmStmt>(S))
368 if (GS->isAsmGoto()) {
372 AsmJumps.push_back(GS);
373 for (auto *E : GS->labels())
652 if (GotoStmt *GS = dyn_cast<GotoStmt>(Jump)) {
654 if (GS->getLabel()->getStmt()) {
655 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(),
660 CheckGotoStmt(GS);
986 void JumpScopeChecker::CheckGotoStmt(GotoStmt *GS) {
987 if (GS->getLabel()->isMSAsmLabel()) {
988 S.Diag(GS->getGotoLoc(), diag::err_goto_ms_asm_label)
989 << GS->getLabel()->getIdentifier();
990 S.Diag(GS->getLabel()->getLocation(), diag::note_goto_ms_asm_label)
991 << GS->getLabel()->getIdentifier();