[llvm] [Support] Use an inherited constructor in DOTGraphTraits (NFC) (PR #164056)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 18 10:15:43 PDT 2025


================
@@ -164,7 +164,7 @@ struct DefaultDOTGraphTraits {
 ///
 template <typename Ty>
 struct DOTGraphTraits : public DefaultDOTGraphTraits {
-  DOTGraphTraits (bool simple=false) : DefaultDOTGraphTraits (simple) {}
+  using DefaultDOTGraphTraits::DefaultDOTGraphTraits;
----------------
kazutakahirata wrote:

Good point!  I'll do a sweep across `ADT` and `Support`.  Thanks!


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


More information about the llvm-commits mailing list