[llvm] [NFC][LLVM][ADT] Change a few `const StringRef &` arguments to value (PR #163994)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 17 12:57:37 PDT 2025


================
@@ -21,6 +21,7 @@
 #include "llvm/ADT/Hashing.h"
 #include "llvm/ADT/STLForwardCompat.h"
 #include "llvm/ADT/STLFunctionalExtras.h"
+#include "llvm/ADT/StringRef.h"
----------------
kuhar wrote:

Can we avoid this include by sticking to references? STLExtras is very widely used, so I'd like to keep the set of includes minimal if possible

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


More information about the llvm-commits mailing list