[PATCH] D15272: [Verifier] Verifier that a GlobalValue is only used in this Module

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 06:51:38 PST 2015

loladiro added inline comments.

Comment at: lib/IR/Verifier.cpp:451
@@ -450,1 +450,3 @@
+template <typename CB1, typename CB2>
+static void
rafael wrote:
> Why do you need a template? Looks like the callbacks always have the name type, no?
Is there a good way to name a C++ lambda (I know about std::function, but AFAIK that has performance implications, so I tend to avoid it)?


More information about the llvm-commits mailing list