================
@@ -34,7 +34,7 @@ void lintModule(const Module &M, bool AbortOnError = false);
 // Lint a function.
 void lintFunction(const Function &F, bool AbortOnError = false);
 
-class LintPass : public PassInfoMixin<LintPass> {
+class LintPass : public OptionalPassInfoMixin<LintPass> {
----------------
nikic wrote:

This one should probably be required as well, similar to other verification 
passes.

https://github.com/llvm/llvm-project/pull/192120
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to