reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
26 FallThroughAttr Attr(S.Context, A); 28 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_wrong_target) 31 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); 32 S.Diag(L, diag::note_fallthrough_insert_semi_fixit) 37 auto *FnScope = S.getCurFunction(); 39 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_outside_switch); 45 if (!S.getLangOpts().CPlusPlus17 && A.isCXX11Attribute() && 47 S.Diag(A.getLoc(), diag::ext_cxx17_attr) << A; 50 return ::new (S.Context) FallThroughAttr(S.Context, A); 50 return ::new (S.Context) FallThroughAttr(S.Context, A);