Home
last modified time | relevance | path

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

/external/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.h126 S.CCEDiag(E, diag::note_constexpr_overflow) << Value << Type; in AddSubMulHelper()
748 S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_array_index) in OffsetHelper()
853 S.CCEDiag(E, diag::note_constexpr_large_shift) << Val << Ty << Bits; in Trunc()
879 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt(); in ShiftLeft()
881 S.CCEDiag(S.Current->getExpr(OpPC), diag::note_constexpr_lshift_discards); in ShiftLeft()
903 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shr()
918 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in Shl()
DInterp.cpp338 S.CCEDiag(Loc, diag::note_constexpr_virtual_call); in CheckCallable()
/external/clang/lib/AST/
DExprConstant.cpp676 OptionalDiagnostic CCEDiag(SourceLocation Loc, diag::kind DiagId in CCEDiag() function
687 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind DiagId in CCEDiag() function
690 return CCEDiag(E->getExprLoc(), DiagId, ExtraNotes); in CCEDiag()
942 Info.CCEDiag(E, diag::note_constexpr_past_end_subobject) in checkSubobject()
953 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
957 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1117 Info.CCEDiag(E, diag::note_constexpr_null_subobject) in checkNullPointer()
1462 Info.CCEDiag(Loc); in CheckLValueConstantExpression()
1652 Info.CCEDiag(E, diag::note_constexpr_overflow) in HandleOverflow()
1844 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS; in handleIntIntBinOp()
[all …]
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp1398 Info.CCEDiag(E, diag::note_constexpr_past_end_subobject) in checkSubobject()
1411 Info.CCEDiag(E, diag::note_constexpr_unsized_array_indexed); in diagnoseUnsizedArrayPointerArithmetic()
1422 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1426 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1633 Info.CCEDiag(E, diag::note_constexpr_null_subobject) << CSK; in checkNullPointer()
1658 Info.CCEDiag(E, diag::note_constexpr_unsupported_unsized_array); in addUnsizedArray()
2259 Info.CCEDiag(Loc); in CheckLValueConstantExpression()
2439 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
2512 Info.CCEDiag(E, diag::note_constexpr_overflow) in HandleOverflow()
2767 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS; in handleIntIntBinOp()
[all …]