=?utf-8?q?Donát?= Nagy <donat.n...@ericsson.com> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/132...@github.com>
================ @@ -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 cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits