reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/lib/AST/Interp/State.h
  101   CCEDiag(const Expr *E,

References

tools/clang/lib/AST/ExprConstant.cpp
 1342     Info.CCEDiag(E, diag::note_constexpr_past_end_subobject)
 1355   Info.CCEDiag(E, diag::note_constexpr_unsized_array_indexed);
 1366     Info.CCEDiag(E, diag::note_constexpr_array_index)
 1370     Info.CCEDiag(E, diag::note_constexpr_array_index)
 1552         Info.CCEDiag(E, diag::note_constexpr_null_subobject) << CSK;
 1577         Info.CCEDiag(E, diag::note_constexpr_unsupported_unsized_array);
 2265     Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr,
 2337   Info.CCEDiag(E, diag::note_constexpr_overflow)
 2526       Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS;
 2535       Info.CCEDiag(E, diag::note_constexpr_large_shift)
 2543         Info.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << LHS;
 2545         Info.CCEDiag(E, diag::note_constexpr_lshift_discards);
 2559       Info.CCEDiag(E, diag::note_constexpr_negative_shift) << RHS;
 2568       Info.CCEDiag(E, diag::note_constexpr_large_shift)
 2606       Info.CCEDiag(E, diag::note_expr_divide_by_zero);
 2616     Info.CCEDiag(E, diag::note_constexpr_float_arithmetic) << LHS.isNaN();
 2898     Info.CCEDiag(E, diag::note_constexpr_var_init_non_constant,
 3607           Info.CCEDiag(E, diag::note_constexpr_ltor_non_constexpr, 1) << VD;
 3610           Info.CCEDiag(E);
 3613         Info.CCEDiag(E, diag::note_constexpr_ltor_non_constexpr) << VD;
 4209     Info.CCEDiag(E, diag::note_constexpr_invalid_downcast)
 4224     Info.CCEDiag(E, diag::note_constexpr_invalid_downcast)
 5462       Info.CCEDiag(Args[Idx], diag::note_non_null_attribute_failed);
 6674     return Info.CCEDiag(E, D);
 6875           Info.CCEDiag(PDE, diag::note_constexpr_pseudo_destructor);
 7547       Info.CCEDiag(E, diag::note_constexpr_typeid_polymorphic)
 8212       Info.CCEDiag(E, diag::note_constexpr_invalid_function)
 8216       Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr);
 8316       Info.CCEDiag(E, diag::note_constexpr_invalid_function)
 8320       Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr);
 8468     Info.CCEDiag(E, diag::note_constexpr_new);
10697       Info.CCEDiag(E, diag::note_constexpr_invalid_function)
10701       Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr);
10758       Info.CCEDiag(E, diag::note_constexpr_invalid_function)
10762       Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr);
11182     return Info.CCEDiag(E, D);
11619       Info.CCEDiag(E, diag::note_constexpr_void_comparison);
11644           Info.CCEDiag(E, diag::note_constexpr_pointer_comparison_base_classes);
11646           Info.CCEDiag(E, diag::note_constexpr_pointer_comparison_base_field)
11650           Info.CCEDiag(E, diag::note_constexpr_pointer_comparison_base_field)
11655           Info.CCEDiag(E,
11717         Info.CCEDiag(E, diag::note_constexpr_compare_virtual_mem_ptr) << MD;
11720         Info.CCEDiag(E, diag::note_constexpr_compare_virtual_mem_ptr) << MD;
11854       Info.CCEDiag(E, diag::note_constexpr_pointer_subtraction_not_same_array);
13217       Info.CCEDiag(E, diag::note_constexpr_new);
13326       Info.CCEDiag(E, diag::note_constexpr_nonliteral)
tools/clang/lib/AST/Interp/Interp.h
  126     S.CCEDiag(E, diag::note_constexpr_overflow) << Value << Type;
  856     S.CCEDiag(E, diag::note_constexpr_large_shift) << Val << Ty << Bits;
  882       S.CCEDiag(E, diag::note_constexpr_lshift_of_negative) << V.toAPSInt();
  884       S.CCEDiag(S.Current->getExpr(OpPC), diag::note_constexpr_lshift_discards);
tools/clang/lib/AST/Interp/InterpState.cpp
   53   CCEDiag(E, diag::note_constexpr_overflow) << Value << Type;