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

References

tools/clang/lib/Sema/SemaOverload.cpp
  306   assert(Ctx.getLangOpts().CPlusPlus && "narrowing check outside C++");
  338     if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
  345       const Expr *Initializer = IgnoreNarrowingConversion(Ctx, Converted);
  352       if (Initializer->isIntegerConstantExpr(IntConstantValue, Ctx)) {
  354         llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType));
  381         Ctx.getFloatingTypeOrder(FromType, ToType) == 1) {
  383       const Expr *Initializer = IgnoreNarrowingConversion(Ctx, Converted);
  389       if (Initializer->isCXX11ConstantExpr(Ctx, &ConstantValue)) {
  396           Ctx.getFloatTypeSemantics(ToType),
  420     const unsigned FromWidth = Ctx.getIntWidth(FromType);
  422     const unsigned ToWidth = Ctx.getIntWidth(ToType);
  429       const Expr *Initializer = IgnoreNarrowingConversion(Ctx, Converted);
  435       if (!Initializer->isIntegerConstantExpr(InitializerValue, Ctx)) {