Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
DState.cpp41 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag() function in State
52 OptionalDiagnostic State::CCEDiag(const Expr *E, diag::kind DiagId, in CCEDiag() function in State
54 return CCEDiag(E->getExprLoc(), DiagId, ExtraNotes); in CCEDiag()
57 OptionalDiagnostic State::CCEDiag(const SourceInfo &SI, diag::kind DiagId, in CCEDiag() function in State
59 return CCEDiag(SI.getLoc(), DiagId, ExtraNotes); in CCEDiag()
DState.h96 CCEDiag(SourceLocation Loc,
101 CCEDiag(const Expr *E,
106 CCEDiag(const SourceInfo &SI,
DInterpState.cpp53 CCEDiag(E, diag::note_constexpr_overflow) << Value << Type; in reportOverflow()
DInterp.h127 S.CCEDiag(E, diag::note_constexpr_overflow) << Value << Type; in AddSubMulHelper()
749 S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index) in OffsetHelper()
854 S.CCEDiag(E, diag::note_constexpr_large_shift) << Val << Ty << Bits; in Trunc()
880 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt(); in ShiftLeft()
882 S.CCEDiag(S.Current->getExpr(OpPC), diag::note_constexpr_lshift_discards); in ShiftLeft()
904 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shr()
919 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shl()
DInterp.cpp338 S.CCEDiag(Loc, diag::note_constexpr_virtual_call); in CheckCallable()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DExprConstant.cpp1404 Info.CCEDiag(E, diag::note_constexpr_past_end_subobject) in checkSubobject()
1417 Info.CCEDiag(E, diag::note_constexpr_unsized_array_indexed); in diagnoseUnsizedArrayPointerArithmetic()
1428 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1432 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1639 Info.CCEDiag(E, diag::note_constexpr_null_subobject) << CSK; in checkNullPointer()
1664 Info.CCEDiag(E, diag::note_constexpr_unsupported_unsized_array); in addUnsizedArray()
2265 Info.CCEDiag(Loc); in CheckLValueConstantExpression()
2445 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
2518 Info.CCEDiag(E, diag::note_constexpr_overflow) in HandleOverflow()
2772 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS; in handleIntIntBinOp()
[all …]