=?utf-8?q?Donát?= Nagy <[email protected]> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================ @@ -42,8 +42,14 @@ namespace { class VirtualCallChecker : public Checker<check::BeginFunction, check::EndFunction, check::PreCall> { public: - // These are going to be null if the respective check is disabled. - mutable std::unique_ptr<BugType> BT_Pure, BT_Impure; + enum : CheckerPartIdx { PureChecker, ImpureChecker, NumCheckerParts }; + + BugType BugTypes[NumCheckerParts] = { + {this, PureChecker, "Pure virtual method call", ---------------- steakhal wrote: Ok. I think the right phrase is "call to". https://github.com/llvm/llvm-project/pull/132072 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits