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

References

tools/clang/lib/Sema/SemaCast.cpp
  269   Op.OpRange = SourceRange(OpLoc, Parens.getEnd());
  270   Op.DestRange = AngleBrackets;
  277       Op.CheckConstCast();
  278       if (Op.SrcExpr.isInvalid())
  282     return Op.complete(CXXConstCastExpr::Create(Context, Op.ResultType,
  282     return Op.complete(CXXConstCastExpr::Create(Context, Op.ResultType,
  283                                   Op.ValueKind, Op.SrcExpr.get(), DestTInfo,
  283                                   Op.ValueKind, Op.SrcExpr.get(), DestTInfo,
  295       Op.CheckDynamicCast();
  296       if (Op.SrcExpr.isInvalid())
  299     return Op.complete(CXXDynamicCastExpr::Create(Context, Op.ResultType,
  299     return Op.complete(CXXDynamicCastExpr::Create(Context, Op.ResultType,
  300                                     Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  300                                     Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  300                                     Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  301                                                   &Op.BasePath, DestTInfo,
  307       Op.CheckReinterpretCast();
  308       if (Op.SrcExpr.isInvalid())
  312     return Op.complete(CXXReinterpretCastExpr::Create(Context, Op.ResultType,
  312     return Op.complete(CXXReinterpretCastExpr::Create(Context, Op.ResultType,
  313                                     Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  313                                     Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  313                                     Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  320       Op.CheckStaticCast();
  321       if (Op.SrcExpr.isInvalid())
  326     return Op.complete(CXXStaticCastExpr::Create(Context, Op.ResultType,
  326     return Op.complete(CXXStaticCastExpr::Create(Context, Op.ResultType,
  327                                    Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  327                                    Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  327                                    Op.ValueKind, Op.Kind, Op.SrcExpr.get(),
  328                                                  &Op.BasePath, DestTInfo,