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

References

tools/clang/lib/Sema/TypeLocBuilder.cpp
   49   unsigned NewIndex = Index + NewCapacity - Capacity;
   51          &Buffer[Index],
   52          Capacity - Index);
   59   Index = NewIndex;
   73   if (LocalSize > Index) {
   74     size_t RequiredCapacity = Capacity + (LocalSize - Index);
   99           memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
   99           memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
  100           Index -= 4;
  110           memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4);
  110           memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4);
  111           Index += 4;
  120       if ((Index - LocalSize) % 8 != 0) {
  121         memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
  121         memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
  122         Index -= 4;
  133           memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
  133           memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
  134           Index -= 4;
  144           memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4);
  144           memmove(&Buffer[Index + 4], &Buffer[Index], NumBytesAtAlign4);
  145           Index += 4;
  157   Index -= LocalSize;
  159   assert(Capacity - Index == TypeLoc::getFullDataSizeForType(T) &&
tools/clang/lib/Sema/TypeLocBuilder.h
   79     Index = Capacity;
  106     size_t FullDataSize = Capacity - Index;
  108     memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize);
  119     size_t FullDataSize = Capacity - Index;
  121     memcpy(Mem, &Buffer[Index], FullDataSize);
  142     return TypeLoc(T, &Buffer[Index]);