Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
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.h101 CCEDiag(SourceLocation Loc,
106 CCEDiag(const Expr *E,
111 CCEDiag(const SourceInfo &SI,
H A DInterpState.cpp71 CCEDiag(E, diag::note_constexpr_overflow) << Value << Type; in reportOverflow()
112 CCEDiag(Source->getExprLoc(), diag::note_constexpr_memory_leak) in maybeDiagnoseDanglingAllocations()
H A DInterp.h167 S.CCEDiag(E, diag::note_constexpr_overflow) << SrcValue << E->getType(); in handleOverflow()
185 S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); in CheckShift()
196 S.CCEDiag(E, diag::note_constexpr_large_shift) << Val << Ty << Bits; in CheckShift()
207 S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS.toAPSInt(); in CheckShift()
213 S.CCEDiag(E, diag::note_constexpr_lshift_discards); in CheckShift()
232 S.CCEDiag(Op, diag::note_expr_divide_by_zero) in CheckDivRem()
249 S.CCEDiag(Loc, diag::note_constexpr_overflow) << Trunc << E->getType(); in CheckDivRem()
1072 S.CCEDiag(S.Current->getSource(OpPC),
1236 S.CCEDiag(Loc, diag::note_constexpr_compare_virtual_mem_ptr) << MD;
1752 S.CCEDiag(S.Current->getSource(OpPC), diag::note_constexpr_invalid_downcast) in GetPtrDerivedPop()
[all …]
H A DInterp.cpp470 S.CCEDiag(S.Current->getLocation(OpPC), in CheckConstant()
478 S.CCEDiag(S.Current->getLocation(OpPC)); in CheckConstant()
562 S.CCEDiag(E, diag::note_constexpr_invalid_downcast) in CheckDowncast()
841 S.CCEDiag(Loc, diag::note_constexpr_virtual_call); in CheckCallable()
975 S.CCEDiag(E, diag::note_constexpr_float_arithmetic) in CheckFloatResult()
1019 S.CCEDiag(E, diag::note_constexpr_new); in CheckDynamicMemoryAllocation()
1105 S.CCEDiag(Loc, diag::note_non_null_attribute_failed); in CheckNonNullArgs()
1291 S.CCEDiag(Loc, diag::note_constexpr_unscoped_enum_out_of_range) in diagnoseEnumValue()
1296 S.CCEDiag(Loc, diag::note_constexpr_unscoped_enum_out_of_range) in diagnoseEnumValue()
1606 S.CCEDiag(E, diag::note_constexpr_virtual_call) << E->getSourceRange(); in CallVirt()
[all …]
H A DInterpBuiltin.cpp138 S.CCEDiag(Loc, diag::note_constexpr_invalid_function) in diagnoseNonConstexprBuiltin()
142 S.CCEDiag(Loc, diag::note_invalid_subexpr_in_const_expr); in diagnoseNonConstexprBuiltin()
1243 S.CCEDiag(Call->getArg(0), in interp__builtin_assume_aligned()
1256 S.CCEDiag(Call->getArg(0), in interp__builtin_assume_aligned()
1260 S.CCEDiag(Call->getArg(0), in interp__builtin_assume_aligned()
1596 S.CCEDiag(Call, diag::note_constexpr_deallocate_null); in interp__builtin_operator_delete()
2214 S.CCEDiag(CalledFromStd in interp__builtin_is_within_lifetime()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1481 Info.CCEDiag(E, diag::note_constexpr_past_end_subobject) in checkSubobject()
1494 Info.CCEDiag(E, diag::note_constexpr_unsized_array_indexed); in diagnoseUnsizedArrayPointerArithmetic()
1505 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1509 Info.CCEDiag(E, diag::note_constexpr_array_index) in diagnosePointerArithmetic()
1729 Info.CCEDiag(E, diag::note_constexpr_null_subobject) << CSK; in checkNullPointer()
1754 Info.CCEDiag(E, diag::note_constexpr_unsupported_unsized_array); in addUnsizedArray()
2504 Info.CCEDiag(Loc); in CheckLValueConstantExpression()
2699 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
2777 Info.CCEDiag(E, diag::note_constexpr_overflow) in HandleOverflow()
2983 Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS; in handleIntIntBinOp()
[all …]