Home
last modified time | relevance | path

Searched refs:CCEDiag (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.cpp42 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag() function in State
53 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId, in CCEDiag() function in State
55 return CCEDiag(E->getExprLoc(), DiagId, ExtraNotes); in CCEDiag()
58 OptionalDiagnostic State::CCEDiag(const SourceInfo &SI, diag::kind DiagId, in CCEDiag() function in State
60 return CCEDiag(SI.getLoc(), DiagId, ExtraNotes); in CCEDiag()
H A DState.h97 CCEDiag(SourceLocation Loc,
102 CCEDiag(const Expr *E,
107 CCEDiag(const SourceInfo &SI,
H A DInterpState.cpp44 CCEDiag(E, diag::note_constexpr_overflow) << Value << Type; in reportOverflow()
H A DInterp.h129 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in CheckShift()
139 S.CCEDiag(E, diag::note_constexpr_large_shift) << Val << Ty << Bits; in CheckShift()
148 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS.toAPSInt(); in CheckShift()
150 S.CCEDiag(E, diag::note_constexpr_lshift_discards); in CheckShift()
175 S.CCEDiag(Loc, diag::note_constexpr_overflow) << Trunc << E->getType(); in CheckDivRem()
292 S.CCEDiag(E, diag::note_constexpr_overflow) << Value << Type; in AddSubMulHelper()
505 S.CCEDiag(E, diag::note_constexpr_overflow) << NegatedValue << Type; in Neg()
559 S.CCEDiag(E, diag::note_constexpr_overflow) << APResult << Type; in IncDecHelper()
1447 S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index) in OffsetHelper()
1663 S.CCEDiag(E, diag::note_constexpr_overflow) << F.getAPFloat() << Type; in CastFloatingIntegralAP()
[all …]
H A DInterp.cpp418 S.CCEDiag(Loc, diag::note_constexpr_virtual_call); in CheckCallable()
507 S.CCEDiag(E, diag::note_constexpr_invalid_cast) in CheckPotentialReinterpretCast()
521 S.CCEDiag(E, diag::note_constexpr_float_arithmetic) in CheckFloatResult()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2359 Info.CCEDiag(Loc); in CheckLValueConstantExpression()
2628 Info.CCEDiag(E, diag::note_constexpr_overflow) in HandleOverflow()
4177 Info.CCEDiag(E); in findCompleteObject()
7657 return Info.CCEDiag(E, D); in CCEDiag()
9457 CCEDiag(E->getArg(0), in VisitBuiltinCallExpr()
9470 ? CCEDiag(E->getArg(0), in VisitBuiltinCallExpr()
9472 : CCEDiag(E->getArg(0), in VisitBuiltinCallExpr()
9792 Info.CCEDiag(E, diag::note_constexpr_new); in VisitCXXNewExpr()
12918 return Info.CCEDiag(E, D); in CCEDiag()
13398 Info.CCEDiag(E, in EvaluateComparisonBinaryOperator()
[all …]