llvm-project
0fad7d74 - [llvm] Use static_assert on getEmptyKey and getTombstoneKey (NFC) (#167167)

Commit
2 days ago
[llvm] Use static_assert on getEmptyKey and getTombstoneKey (NFC) (#167167) Note that DenseMapInfo<unsigned>::getEmptyKey() and getTombstoneKey() are constexpr. This patch removes assertion messages as they don't state any more than what's expressed in the assertion condition. Identified with misc-static-assert.
Parents
Loading