[llvm] [IR] Remove unused and mark debug-only verifier templates (NFC) (PR #202975)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 07:19:08 PDT 2026
================
@@ -267,8 +267,9 @@ static bool containsGCPtrType(Type *Ty) {
}
// Debugging aid -- prints a [Begin, End) range of values.
-template<typename IteratorTy>
-static void PrintValueSet(raw_ostream &OS, IteratorTy Begin, IteratorTy End) {
+template <typename IteratorTy>
+[[maybe_unused]] static void PrintValueSet(raw_ostream &OS, IteratorTy Begin,
----------------
boomanaiden154 wrote:
Can we get a comment here on why this is `[[maybe_unused]]`? It's not immediately inferable from the direct context.
https://github.com/llvm/llvm-project/pull/202975
More information about the llvm-commits
mailing list