[llvm] [IR] Modernize StructuralHashImpl (NFC) (PR #105951)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 24 10:20:36 PDT 2024


================
@@ -43,7 +43,7 @@ class StructuralHashImpl {
   }
 
 public:
-  StructuralHashImpl() : Hash(4) {}
+  StructuralHashImpl() = default;
----------------
boomanaiden154 wrote:

What's the reason for marking the constructor as default here instead of just omitting it?

https://github.com/llvm/llvm-project/pull/105951


More information about the llvm-commits mailing list