where does the type of expr in clang come from

I am studying the sizeof realization in clang.now i trace the code:

   case UETT_SizeOf: {
    QualType SrcTy = E->getTypeOfArgument();

    if (const ReferenceType *Ref = SrcTy->getAs<ReferenceType> ())
      SrcTy = Ref->getPointeeType();

    CharUnits Sizeof;
    if (!HandleSizeof(Info, E->getExprLoc(), SrcTy, Sizeof))
      return false;
    return Success(Sizeof, E);

now i cannot trace typeof E coming from

728x90

0 Answers where does the type of expr in clang come from