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

References

tools/clang/include/clang/AST/APValue.h
  382     return *(APSInt*)(char*)Data.buffer;
  396     return *(APFloat*)(char*)Data.buffer;
  404     return *(APFixedPoint *)(char *)Data.buffer;
  412     return ((ComplexAPSInt*)(char*)Data.buffer)->Real;
  420     return ((ComplexAPSInt*)(char*)Data.buffer)->Imag;
  428     return ((ComplexAPFloat*)(char*)Data.buffer)->Real;
  436     return ((ComplexAPFloat*)(char*)Data.buffer)->Imag;
  457     return ((Vec*)(char*)Data.buffer)->Elts[I];
  464     return ((const Vec*)(const void *)Data.buffer)->NumElts;
  470     return ((Arr*)(char*)Data.buffer)->Elts[I];
  481     return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()];
  488     return ((const Arr*)(const void *)Data.buffer)->NumElts;
  492     return ((const Arr*)(const void *)Data.buffer)->ArrSize;
  497     return ((const StructData*)(const char*)Data.buffer)->NumBases;
  501     return ((const StructData*)(const char*)Data.buffer)->NumFields;
  505     return ((StructData*)(char*)Data.buffer)->Elts[i];
  509     return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i];
  520     return ((const UnionData*)(const char*)Data.buffer)->Field;
  524     return *((UnionData*)(char*)Data.buffer)->Value;
  536     return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr;
  540     return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr;
  545     *(APSInt *)(char *)Data.buffer = std::move(I);
  549     *(APFloat *)(char *)Data.buffer = std::move(F);
  553     *(APFixedPoint *)(char *)Data.buffer = std::move(FX);
  557     ((Vec*)(char*)Data.buffer)->Elts = new APValue[N];
  558     ((Vec*)(char*)Data.buffer)->NumElts = N;
  560       ((Vec*)(char*)Data.buffer)->Elts[i] = E[i];
  566     ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R);
  567     ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I);
  573     ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R);
  574     ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I);
  583     ((UnionData*)(char*)Data.buffer)->Field = Field;
  584     *((UnionData*)(char*)Data.buffer)->Value = Value;
  588     ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr;
  589     ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr;
  602     new ((void*)Data.buffer) APSInt(1);
  607     new ((void*)(char*)Data.buffer) APFloat(0.0);
  612     new ((void *)(char *)Data.buffer) APFixedPoint(std::move(FX));
  617     new ((void*)(char*)Data.buffer) Vec();
  622     new ((void*)(char*)Data.buffer) ComplexAPSInt();
  627     new ((void*)(char*)Data.buffer) ComplexAPFloat();
  634     new ((void*)(char*)Data.buffer) StructData(B, M);
  639     new ((void*)(char*)Data.buffer) UnionData();
  646     new ((void*)(char*)Data.buffer) AddrLabelDiffData();
tools/clang/lib/AST/APValue.cpp
  257     setVector(((const Vec *)(const char *)RHS.Data.buffer)->Elts,
  309     ((APSInt*)(char*)Data.buffer)->~APSInt();
  311     ((APFloat*)(char*)Data.buffer)->~APFloat();
  313     ((APFixedPoint *)(char *)Data.buffer)->~APFixedPoint();
  315     ((Vec*)(char*)Data.buffer)->~Vec();
  317     ((ComplexAPSInt*)(char*)Data.buffer)->~ComplexAPSInt();
  319     ((ComplexAPFloat*)(char*)Data.buffer)->~ComplexAPFloat();
  321     ((LV*)(char*)Data.buffer)->~LV();
  323     ((Arr*)(char*)Data.buffer)->~Arr();
  325     ((StructData*)(char*)Data.buffer)->~StructData();
  327     ((UnionData*)(char*)Data.buffer)->~UnionData();
  329     ((MemberPointerData*)(char*)Data.buffer)->~MemberPointerData();
  331     ((AddrLabelDiffData*)(char*)Data.buffer)->~AddrLabelDiffData();
  365     return reinterpret_cast<const LV *>(Data.buffer)->hasPathPtr();
  367     return reinterpret_cast<const MemberPointerData *>(Data.buffer)
  376   memcpy(TmpData, Data.buffer, DataSize);
  377   memcpy(Data.buffer, RHS.Data.buffer, DataSize);
  377   memcpy(Data.buffer, RHS.Data.buffer, DataSize);
  378   memcpy(RHS.Data.buffer, TmpData, DataSize);
  735   return ((const LV*)(const void*)Data.buffer)->Base;
  740   return ((const LV*)(const void*)Data.buffer)->IsOnePastTheEnd;
  745   return ((LV*)(void*)Data.buffer)->Offset;
  750   return ((const LV*)(const char*)Data.buffer)->hasPath();
  755   const LV &LVal = *((const LV*)(const char*)Data.buffer);
  761   return ((const LV*)(const char*)Data.buffer)->Base.getCallIndex();
  766   return ((const LV*)(const char*)Data.buffer)->Base.getVersion();
  771   return ((const LV*)(const char*)Data.buffer)->IsNullPtr;
  777   LV &LVal = *((LV*)(char*)Data.buffer);
  789   LV &LVal = *((LV*)(char*)Data.buffer);
  801       *((const MemberPointerData *)(const char *)Data.buffer);
  808       *((const MemberPointerData *)(const char *)Data.buffer);
  815       *((const MemberPointerData *)(const char *)Data.buffer);
  822   new ((void*)(char*)Data.buffer) LV();
  828   new ((void*)(char*)Data.buffer) Arr(InitElts, Size);
  835   MemberPointerData *MPD = new ((void*)(char*)Data.buffer) MemberPointerData;