Make kernel build with clang.

It's a bit faster than g++ and seems to generate perfectly fine code.
The kernel is also roughly 10% smaller(!)
This commit is contained in:
Andreas Kling 2018-11-09 12:20:44 +01:00
commit ebf308d413
Notes: sideshowbarker 2024-07-19 18:31:12 +09:00
10 changed files with 40 additions and 27 deletions

View file

@ -42,7 +42,6 @@ private:
void computeHash() const;
size_t m_length { 0 };
bool m_ownsBuffer { true };
mutable bool m_hasHash { false };
const char* m_characters { nullptr };
mutable unsigned m_hash { 0 };