Lines Matching refs:ET
25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument
35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport()
48 ErrorType ET; in handleTypeMismatchImpl() local
50 ET = ErrorType::NullPointerUse; in handleTypeMismatchImpl()
52 ET = ErrorType::MisalignedPointerUse; in handleTypeMismatchImpl()
54 ET = ErrorType::InsufficientObjectSize; in handleTypeMismatchImpl()
58 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl()
67 ScopedReport R(Opts, Loc, ET); in handleTypeMismatchImpl()
69 switch (ET) { in handleTypeMismatchImpl()
112 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow in handleIntegerOverflowImpl() local
115 if (ignoreReport(Loc, Opts, ET)) in handleIntegerOverflowImpl()
118 ScopedReport R(Opts, Loc, ET); in handleIntegerOverflowImpl()
146 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow in handleNegateOverflowImpl() local
149 if (ignoreReport(Loc, Opts, ET)) in handleNegateOverflowImpl()
152 ScopedReport R(Opts, Loc, ET); in handleNegateOverflowImpl()
182 ErrorType ET; in handleDivremOverflowImpl() local
184 ET = ErrorType::SignedIntegerOverflow; in handleDivremOverflowImpl()
186 ET = ErrorType::IntegerDivideByZero; in handleDivremOverflowImpl()
188 ET = ErrorType::FloatDivideByZero; in handleDivremOverflowImpl()
190 if (ignoreReport(Loc, Opts, ET)) in handleDivremOverflowImpl()
193 ScopedReport R(Opts, Loc, ET); in handleDivremOverflowImpl()
195 switch (ET) { in handleDivremOverflowImpl()
226 ErrorType ET; in handleShiftOutOfBoundsImpl() local
229 ET = ErrorType::InvalidShiftExponent; in handleShiftOutOfBoundsImpl()
231 ET = ErrorType::InvalidShiftBase; in handleShiftOutOfBoundsImpl()
233 if (ignoreReport(Loc, Opts, ET)) in handleShiftOutOfBoundsImpl()
236 ScopedReport R(Opts, Loc, ET); in handleShiftOutOfBoundsImpl()
238 if (ET == ErrorType::InvalidShiftExponent) { in handleShiftOutOfBoundsImpl()
272 ErrorType ET = ErrorType::OutOfBoundsIndex; in handleOutOfBoundsImpl() local
274 if (ignoreReport(Loc, Opts, ET)) in handleOutOfBoundsImpl()
277 ScopedReport R(Opts, Loc, ET); in handleOutOfBoundsImpl()
324 ErrorType ET = ErrorType::NonPositiveVLAIndex; in handleVLABoundNotPositive() local
326 if (ignoreReport(Loc, Opts, ET)) in handleVLABoundNotPositive()
329 ScopedReport R(Opts, Loc, ET); in handleVLABoundNotPositive()
371 ErrorType ET = ErrorType::FloatCastOverflow; in handleFloatCastOverflow() local
382 if (ignoreReport(SLoc, Opts, ET)) in handleFloatCastOverflow()
389 ScopedReport R(Opts, Loc, ET); in handleFloatCastOverflow()
413 ErrorType ET = in handleLoadInvalidValue() local
416 if (ignoreReport(Loc, Opts, ET)) in handleLoadInvalidValue()
419 ScopedReport R(Opts, Loc, ET); in handleLoadInvalidValue()
442 ErrorType ET = ErrorType::FunctionTypeMismatch; in handleFunctionTypeMismatch() local
444 if (ignoreReport(CallLoc, Opts, ET)) in handleFunctionTypeMismatch()
447 ScopedReport R(Opts, CallLoc, ET); in handleFunctionTypeMismatch()
476 ErrorType ET = ErrorType::InvalidNullReturn; in handleNonNullReturn() local
478 if (ignoreReport(Loc, Opts, ET)) in handleNonNullReturn()
481 ScopedReport R(Opts, Loc, ET); in handleNonNullReturn()
502 ErrorType ET = ErrorType::InvalidNullArgument; in handleNonNullArg() local
504 if (ignoreReport(Loc, Opts, ET)) in handleNonNullArg()
507 ScopedReport R(Opts, Loc, ET); in handleNonNullArg()
532 ErrorType ET = ErrorType::CFIBadType; in handleCFIBadIcall() local
534 if (ignoreReport(Loc, Opts, ET)) in handleCFIBadIcall()
537 ScopedReport R(Opts, Loc, ET); in handleCFIBadIcall()