From 35bed9571166e80903ecfd69eb445a1a8df7a974 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Sep 2013 10:01:47 +0200 Subject: Add options to warn about hard additions and deletions --- odb/options.cli | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'odb/options.cli') diff --git a/odb/options.cli b/odb/options.cli index c56ee28..6d67ca7 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -314,6 +314,24 @@ class options Valid values are \cb{c++98} (default) and \cb{c++11}." }; + // Diagnostics. + // + bool --warn-hard-add + { + "Warn about hard-added data members." + }; + + bool --warn-hard-delete + { + "Warn about hard-deleted data members and persistent classes." + }; + + bool --warn-hard + { + "Warn about both hard-added and hard-deleted data members and + persistent classes." + }; + // Output. // std::string --output-dir | -o -- cgit v1.1