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

References

unittests/Support/TrailingObjectsTest.cpp
  164   EXPECT_EQ(C2->getDouble(), 4.2);
  165   EXPECT_EQ(C2->getShort(), 0);
  166   EXPECT_EQ(C2->getTrailingObjects<double>(),
  167             reinterpret_cast<double *>(C2 + 1));
  168   EXPECT_EQ(C2->getTrailingObjects<short>(),
  169             reinterpret_cast<short *>(reinterpret_cast<double *>(C2 + 1) + 1));
  171   delete C2;