| 26 | // Add padding to the end of the array until the size is aligned. |
| 27 | template <typename T, template<typename> class Allocator> |
| 28 | static inline void AlignmentPadVector(std::vector<T, Allocator<T>>* dest, |
| 29 | size_t alignment) { |
| 30 | while (!IsAlignedParam(dest->size(), alignment)) { |
| 31 | dest->push_back(T()); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | } // namespace art_lkchan |
| 36 |
no test coverage detected