llvm-project
53a00b2c - [DenseMap] memcpy buckets with trivial copy constructor and destructor. NFC (#224193)

Commit
7 days ago
[DenseMap] memcpy buckets with trivial copy constructor and destructor. NFC (#224193) std::pair has a user-provided copy assignment operator, so std::is_trivially_copyable is false. Define is weaker isRelocatableBucket instead. This optimizes some DenseMap instantiations within lld (e.g. lld/ELF/SyntheticSections.cpp)
Author
Parents
Loading