Skip to content

Commit

Permalink
misc: minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
sritejakv committed Oct 17, 2023
1 parent af06a87 commit da9542a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions include/phasar/PhasarLLVM/Utils/AnalysisPrinterBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ template <typename AnalysisDomainTy> class AnalysisPrinterBase {

AnalysisPrinterBase() = default;
virtual ~AnalysisPrinterBase() = default;
AnalysisPrinterBase(const AnalysisPrinterBase &) = delete;
AnalysisPrinterBase &operator=(const AnalysisPrinterBase &) = delete;

AnalysisPrinterBase(AnalysisPrinterBase &&) = delete;
AnalysisPrinterBase &operator=(AnalysisPrinterBase &&) = delete;
};

} // namespace psr
Expand Down
6 changes: 0 additions & 6 deletions include/phasar/PhasarLLVM/Utils/DefaultAnalysisPrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ class DefaultAnalysisPrinter : public AnalysisPrinterBase<AnalysisDomainTy> {
~DefaultAnalysisPrinter() override = default;
DefaultAnalysisPrinter() = default;

DefaultAnalysisPrinter(const DefaultAnalysisPrinter &) = delete;
DefaultAnalysisPrinter &operator=(const DefaultAnalysisPrinter &) = delete;

DefaultAnalysisPrinter(DefaultAnalysisPrinter &&) = delete;
DefaultAnalysisPrinter &operator=(DefaultAnalysisPrinter &&) = delete;

void onResult(Warning<AnalysisDomainTy> War) override {
AnalysisResults.War.emplace_back(std::move(War));
}
Expand Down

0 comments on commit da9542a

Please sign in to comment.