We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542cbad commit 7ef9a6cCopy full SHA for 7ef9a6c
include/swift/ABI/TrailingObjects.h
@@ -367,7 +367,7 @@ class TrailingObjects : private trailing_objects_internal::TrailingObjectsImpl<
367
template <typename... Tys> struct FixedSizeStorage {
368
template <size_t... Counts> struct with_counts {
369
enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
370
- typedef llvm::AlignedCharArray<alignof(BaseTy), Size> type;
+ using type = std::aligned_storage<Size, alignof(BaseTy)>;
371
};
372
373
0 commit comments