[clang] [llvm] [polly] [PassManager] Make passes inherit from RequiredPassInfoMixin/OptionalPassInfoMixin (PR #192120)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Wed May 6 03:00:43 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list