Mercurial > octave
changeset 22417:48c00363dc74
maint: Use '{ }' for empty function bodies in C++.
* Backend.cc, BaseControl.cc, ButtonControl.cc, ButtonGroup.cc,
CheckBoxControl.cc, Container.cc, ContextMenu.cc, EditControl.cc, Figure.cc,
FigureWindow.cc, GLCanvas.cc, ListBoxControl.cc, Logger.cc, Menu.cc,
MouseModeActionGroup.cc, Object.cc, Panel.cc, PopupMenuControl.cc,
PushButtonControl.cc, PushTool.cc, RadioButtonControl.cc, SliderControl.cc,
TextControl.cc, ToggleButtonControl.cc, ToggleTool.cc, ToolBar.cc,
ToolBarButton.cc, marker.cc, octave-dock-widget.h, octave-qt-link.cc,
shortcut-manager.cc, shortcut-manager.h, Cell.cc, jit-ir.cc, jit-ir.h,
jit-typeinfo.cc, oct-prcstrm.cc, octave-link.cc, profiler.cc, pt-jit.cc,
sysdep.cc, __init_gnuplot__.cc, ov-fcn-handle.cc, ov.cc, pt-check.cc,
CColVector.cc, CMatrix.cc, CSparse.cc, dMatrix.cc, fCColVector.cc, fCMatrix.cc,
fMatrix.cc, aepbalance.h, oct-norm.cc, byte-swap.h, cmd-hist.cc, oct-sort.cc:
Use '{ }' for empty function bodies in C++.
line wrap: on
line diff
--- a/libgui/graphics/Backend.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Backend.cc Thu Sep 01 09:33:55 2016 -0700 @@ -79,8 +79,7 @@ } Backend::~Backend (void) - { - } + { } bool Backend::initialize (const graphics_object& go)
--- a/libgui/graphics/BaseControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/BaseControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -99,8 +99,7 @@ } BaseControl::~BaseControl (void) - { - } + { } void BaseControl::update (int pId)
--- a/libgui/graphics/ButtonControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ButtonControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -57,8 +57,7 @@ } ButtonControl::~ButtonControl (void) - { - } + { } void ButtonControl::update (int pId)
--- a/libgui/graphics/ButtonGroup.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ButtonGroup.cc Thu Sep 01 09:33:55 2016 -0700 @@ -170,8 +170,7 @@ } ButtonGroup::~ButtonGroup (void) - { - } + { } bool ButtonGroup::eventFilter (QObject* watched, QEvent* xevent)
--- a/libgui/graphics/CheckBoxControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/CheckBoxControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -55,8 +55,7 @@ } CheckBoxControl::~CheckBoxControl (void) - { - } + { } };
--- a/libgui/graphics/Container.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Container.cc Thu Sep 01 09:33:55 2016 -0700 @@ -44,8 +44,7 @@ } Container::~Container (void) - { - } + { } Canvas* Container::canvas (const graphics_handle& gh, bool xcreate)
--- a/libgui/graphics/ContextMenu.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ContextMenu.cc Thu Sep 01 09:33:55 2016 -0700 @@ -58,8 +58,7 @@ } ContextMenu::~ContextMenu (void) - { - } + { } void ContextMenu::update (int pId)
--- a/libgui/graphics/EditControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/EditControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -116,8 +116,7 @@ } EditControl::~EditControl (void) - { - } + { } void EditControl::initCommon (QWidget*)
--- a/libgui/graphics/Figure.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Figure.cc Thu Sep 01 09:33:55 2016 -0700 @@ -190,8 +190,7 @@ } Figure::~Figure (void) - { - } + { } static std::string mouse_mode_to_string (MouseMode mode)
--- a/libgui/graphics/FigureWindow.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/FigureWindow.cc Thu Sep 01 09:33:55 2016 -0700 @@ -39,8 +39,7 @@ } FigureWindow::~FigureWindow (void) - { - } + { } QMenu* FigureWindow::createPopupMenu (void)
--- a/libgui/graphics/GLCanvas.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/GLCanvas.cc Thu Sep 01 09:33:55 2016 -0700 @@ -46,8 +46,7 @@ } GLCanvas::~GLCanvas (void) - { - } + { } void GLCanvas::draw (const graphics_handle& gh)
--- a/libgui/graphics/ListBoxControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ListBoxControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -117,8 +117,7 @@ } ListBoxControl::~ListBoxControl (void) - { - } + { } void ListBoxControl::update (int pId)
--- a/libgui/graphics/Logger.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Logger.cc Thu Sep 01 09:33:55 2016 -0700 @@ -48,8 +48,7 @@ } Logger::~Logger (void) - { - } + { } Logger* Logger::instance (void)
--- a/libgui/graphics/Menu.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Menu.cc Thu Sep 01 09:33:55 2016 -0700 @@ -153,8 +153,7 @@ } Menu::~Menu (void) - { - } + { } void Menu::update (int pId)
--- a/libgui/graphics/MouseModeActionGroup.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/MouseModeActionGroup.cc Thu Sep 01 09:33:55 2016 -0700 @@ -61,8 +61,7 @@ } MouseModeActionGroup::~MouseModeActionGroup (void) - { - } + { } void MouseModeActionGroup::actionToggled (bool checked)
--- a/libgui/graphics/Object.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Object.cc Thu Sep 01 09:33:55 2016 -0700 @@ -66,8 +66,7 @@ } Object::~Object (void) - { - } + { } graphics_object Object::object (void) const @@ -131,8 +130,7 @@ void Object::update (int /* pId */) - { - } + { } void Object::finalize (void) @@ -147,18 +145,15 @@ void Object::redraw (void) - { - } + { } void Object::print (const QString& /* file_cmd */, const QString& /* term */) - { - } + { } void Object::beingDeleted (void) - { - } + { } void Object::objectDestroyed (QObject* obj) {
--- a/libgui/graphics/Panel.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/Panel.cc Thu Sep 01 09:33:55 2016 -0700 @@ -145,8 +145,7 @@ } Panel::~Panel (void) - { - } + { } bool Panel::eventFilter (QObject* watched, QEvent* xevent)
--- a/libgui/graphics/PopupMenuControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/PopupMenuControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -63,8 +63,7 @@ } PopupMenuControl::~PopupMenuControl (void) - { - } + { } void PopupMenuControl::update (int pId) {
--- a/libgui/graphics/PushButtonControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/PushButtonControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -58,8 +58,7 @@ } PushButtonControl::~PushButtonControl (void) - { - } + { } void PushButtonControl::update (int pId)
--- a/libgui/graphics/PushTool.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/PushTool.cc Thu Sep 01 09:33:55 2016 -0700 @@ -54,8 +54,7 @@ } PushTool::~PushTool (void) - { - } + { } void PushTool::update (int pId)
--- a/libgui/graphics/RadioButtonControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/RadioButtonControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -64,8 +64,7 @@ } RadioButtonControl::~RadioButtonControl (void) - { - } + { } };
--- a/libgui/graphics/SliderControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/SliderControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -78,8 +78,7 @@ } SliderControl::~SliderControl (void) - { - } + { } void SliderControl::update (int pId)
--- a/libgui/graphics/TextControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/TextControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -63,8 +63,7 @@ } TextControl::~TextControl (void) - { - } + { } void TextControl::update (int pId)
--- a/libgui/graphics/ToggleButtonControl.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ToggleButtonControl.cc Thu Sep 01 09:33:55 2016 -0700 @@ -64,8 +64,7 @@ } ToggleButtonControl::~ToggleButtonControl (void) - { - } + { } };
--- a/libgui/graphics/ToggleTool.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ToggleTool.cc Thu Sep 01 09:33:55 2016 -0700 @@ -60,8 +60,7 @@ } ToggleTool::~ToggleTool (void) - { - } + { } void ToggleTool::update (int pId)
--- a/libgui/graphics/ToolBar.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ToolBar.cc Thu Sep 01 09:33:55 2016 -0700 @@ -100,8 +100,7 @@ } ToolBar::~ToolBar (void) - { - } + { } void ToolBar::update (int pId)
--- a/libgui/graphics/ToolBarButton.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/graphics/ToolBarButton.cc Thu Sep 01 09:33:55 2016 -0700 @@ -60,8 +60,7 @@ template <typename T> ToolBarButton<T>::~ToolBarButton (void) - { - } + { } template <typename T> void
--- a/libgui/src/m-editor/marker.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/src/m-editor/marker.cc Thu Sep 01 09:33:55 2016 -0700 @@ -44,8 +44,7 @@ marker::~marker (void) -{ -} +{ } void
--- a/libgui/src/octave-dock-widget.h Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/src/octave-dock-widget.h Thu Sep 01 09:33:55 2016 -0700 @@ -76,8 +76,7 @@ } virtual void notice_settings (const QSettings*) - { - } + { } void handle_settings (const QSettings*); void handle_active_dock_changed (octave_dock_widget*, octave_dock_widget*);
--- a/libgui/src/octave-qt-link.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/src/octave-qt-link.cc Thu Sep 01 09:33:55 2016 -0700 @@ -522,13 +522,11 @@ void octave_qt_link::do_pre_input_event (void) -{ -} +{ } void octave_qt_link::do_post_input_event (void) -{ -} +{ } void octave_qt_link::do_enter_debugger_event (const std::string& file, int line)
--- a/libgui/src/shortcut-manager.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/src/shortcut-manager.cc Thu Sep 01 09:33:55 2016 -0700 @@ -57,8 +57,7 @@ } shortcut_manager::~shortcut_manager () -{ -} +{ } bool shortcut_manager::instance_ok (void)
--- a/libgui/src/shortcut-manager.h Thu Sep 01 09:56:57 2016 -0400 +++ b/libgui/src/shortcut-manager.h Thu Sep 01 09:33:55 2016 -0700 @@ -163,8 +163,7 @@ } ~shortcut_t (void) - { - } + { } QTreeWidgetItem *tree_item; QString description;
--- a/libinterp/corefcn/Cell.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/Cell.cc Thu Sep 01 09:33:55 2016 -0700 @@ -34,8 +34,7 @@ Cell::Cell (const octave_value_list& ovl) : Array<octave_value> (ovl.cell_value ()) -{ -} +{ } Cell::Cell (const string_vector& sv, bool trim) : Array<octave_value> ()
--- a/libinterp/corefcn/jit-ir.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/jit-ir.cc Thu Sep 01 09:33:55 2016 -0700 @@ -147,7 +147,7 @@ // -------------------- jit_value -------------------- jit_value::~jit_value (void) -{} +{ } jit_block * jit_value::first_use_block (void) @@ -782,7 +782,7 @@ size_t aindex, size_t acount) : value (avalue), index (factory.create<jit_const_index> (aindex)), count (factory.create<jit_const_index> (acount)) -{} +{ } jit_magic_end::jit_magic_end (const std::vector<context>& full_context) : contexts (full_context)
--- a/libinterp/corefcn/jit-ir.h Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/jit-ir.h Thu Sep 01 09:33:55 2016 -0700 @@ -196,7 +196,7 @@ { public: jit_value (void) : llvm_value (0), ty (0), mlast_use (0), - min_worklist (false) {} + min_worklist (false) { } virtual ~jit_value (void); @@ -878,7 +878,7 @@ jit_assign_base (jit_variable *adest) : jit_instruction (), mdest (adest) { } jit_assign_base (jit_variable *adest, size_t npred) : jit_instruction (npred), - mdest (adest) {} + mdest (adest) { } jit_assign_base (jit_variable *adest, jit_value *arg0, jit_value *arg1) : jit_instruction (arg0, arg1), mdest (adest) { }
--- a/libinterp/corefcn/jit-typeinfo.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/jit-typeinfo.cc Thu Sep 01 09:33:55 2016 -0700 @@ -526,7 +526,7 @@ jit_function::jit_function () : module (0), llvm_function (0), mresult (0), call_conv (jit_convention::length), mcan_error (false) -{} +{ } jit_function::jit_function (llvm::Module *amodule, jit_convention::type acall_conv, @@ -590,13 +590,12 @@ const std::vector<jit_type *>& aargs) : module (fn.module), llvm_function (fn.llvm_function), mresult (aresult), args (aargs), call_conv (fn.call_conv), mcan_error (fn.mcan_error) -{ -} +{ } jit_function::jit_function (const jit_function& fn) : module (fn.module), llvm_function (fn.llvm_function), mresult (fn.mresult), args (fn.args), call_conv (fn.call_conv), mcan_error (fn.mcan_error) -{} +{ } void jit_function::erase (void)
--- a/libinterp/corefcn/oct-prcstrm.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/oct-prcstrm.cc Thu Sep 01 09:33:55 2016 -0700 @@ -41,8 +41,7 @@ octave::mach_info::float_format ff) : octave_stdiostream (n, octave_popen (n.c_str (), "r"), arg_md, ff, octave_pclose) -{ -} +{ } octave_iprocstream::~octave_iprocstream (void) { @@ -61,8 +60,7 @@ octave::mach_info::float_format ff) : octave_stdiostream (n, octave_popen (n.c_str (), "w"), arg_md, ff, octave_pclose) -{ -} +{ } octave_oprocstream::~octave_oprocstream (void) {
--- a/libinterp/corefcn/octave-link.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/octave-link.cc Thu Sep 01 09:33:55 2016 -0700 @@ -86,8 +86,7 @@ void octave_link::do_generate_events (void) -{ -} +{ } void octave_link::do_process_events (void)
--- a/libinterp/corefcn/profiler.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/profiler.cc Thu Sep 01 09:33:55 2016 -0700 @@ -36,7 +36,7 @@ profile_data_accumulator::stats::stats () : time (0.0), calls (0), recursive (false), parents (), children () -{} +{ } octave_value profile_data_accumulator::stats::function_set_value (const function_set& list) @@ -57,7 +57,7 @@ profile_data_accumulator::tree_node::tree_node (tree_node* p, octave_idx_type f) : parent (p), fcn_id (f), children (), time (0.0), calls (0) -{} +{ } profile_data_accumulator::tree_node::~tree_node () {
--- a/libinterp/corefcn/pt-jit.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/pt-jit.cc Thu Sep 01 09:33:55 2016 -0700 @@ -107,7 +107,8 @@ // jit_break is thrown whenever a branch we are converting has only breaks or // continues. This is because all code that follows a break or continue // is dead. -class jit_break_exception : public std::exception {}; +class jit_break_exception : public std::exception +{ }; // -------------------- jit_convert -------------------- jit_convert::jit_convert (tree &tee, jit_type *for_bounds) @@ -1636,7 +1637,7 @@ void jit_convert_llvm::visit (jit_argument&) -{} +{ } void jit_convert_llvm::visit (jit_magic_end& me) @@ -2016,11 +2017,10 @@ // -------------------- tree_jit -------------------- tree_jit::tree_jit (void) : module (0), engine (0) -{ -} +{ } tree_jit::~tree_jit (void) -{} +{ } bool tree_jit::execute (tree_simple_for_command& cmd, const octave_value& bounds)
--- a/libinterp/corefcn/sysdep.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/corefcn/sysdep.cc Thu Sep 01 09:33:55 2016 -0700 @@ -171,8 +171,7 @@ static bool w32_shell_execute (const std::string& file) -{ -} +{ } #endif
--- a/libinterp/dldfcn/__init_gnuplot__.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/dldfcn/__init_gnuplot__.cc Thu Sep 01 09:33:55 2016 -0700 @@ -199,8 +199,7 @@ } } catch (octave::execution_exception&) - { - } + { } return retval; }
--- a/libinterp/octave-value/ov-fcn-handle.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/octave-value/ov-fcn-handle.cc Thu Sep 01 09:33:55 2016 -0700 @@ -1919,8 +1919,7 @@ int exp_nargin) : octave_fcn_handle (f), root_handle (root), arg_template (templ), arg_mask (mask), expected_nargin (exp_nargin) -{ -} +{ } octave_fcn_handle * octave_fcn_binder::maybe_binder (const octave_value& f)
--- a/libinterp/octave-value/ov.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/octave-value/ov.cc Thu Sep 01 09:33:55 2016 -0700 @@ -473,76 +473,63 @@ octave_value::octave_value (short int i) : rep (new octave_scalar (i)) -{ -} +{ } octave_value::octave_value (unsigned short int i) : rep (new octave_scalar (i)) -{ -} +{ } octave_value::octave_value (int i) : rep (new octave_scalar (i)) -{ -} +{ } octave_value::octave_value (unsigned int i) : rep (new octave_scalar (i)) -{ -} +{ } octave_value::octave_value (long int i) : rep (new octave_scalar (i)) -{ -} +{ } octave_value::octave_value (unsigned long int i) : rep (new octave_scalar (i)) -{ -} +{ } #if defined (OCTAVE_HAVE_LONG_LONG_INT) octave_value::octave_value (long long int i) : rep (new octave_scalar (i)) -{ -} +{ } #endif #if defined (OCTAVE_HAVE_UNSIGNED_LONG_LONG_INT) octave_value::octave_value (unsigned long long int i) : rep (new octave_scalar (i)) -{ -} +{ } #endif octave_value::octave_value (octave::sys::time t) : rep (new octave_scalar (t.double_value ())) -{ -} +{ } octave_value::octave_value (double d) : rep (new octave_scalar (d)) -{ -} +{ } octave_value::octave_value (float d) : rep (new octave_float_scalar (d)) -{ -} +{ } octave_value::octave_value (const Cell& c, bool is_csl) : rep (is_csl ? dynamic_cast<octave_base_value *> (new octave_cs_list (c)) : dynamic_cast<octave_base_value *> (new octave_cell (c))) -{ -} +{ } octave_value::octave_value (const Array<octave_value>& a, bool is_csl) : rep (is_csl ? dynamic_cast<octave_base_value *> (new octave_cs_list (Cell (a))) : dynamic_cast<octave_base_value *> (new octave_cell (Cell (a)))) -{ -} +{ } octave_value::octave_value (const Matrix& m, const MatrixType& t) : rep (new octave_matrix (m, t)) @@ -750,8 +737,7 @@ octave_value::octave_value (bool b) : rep (new octave_bool (b)) -{ -} +{ } octave_value::octave_value (const boolMatrix& bm, const MatrixType& t) : rep (new octave_bool_matrix (bm, t)) @@ -1124,8 +1110,7 @@ octave_value::octave_value (const octave_scalar_map& m) : rep (new octave_scalar_struct (m)) -{ -} +{ } octave_value::octave_value (const octave_map& m, const std::string& id, const std::list<std::string>& plist) @@ -1137,18 +1122,15 @@ octave_value::octave_value (const octave_scalar_map& m, const std::string& id, const std::list<std::string>& plist) : rep (new octave_class (m, id, plist)) -{ -} +{ } octave_value::octave_value (const octave_value_list& l, bool) : rep (new octave_cs_list (l)) -{ -} +{ } octave_value::octave_value (octave_value::magic_colon) : rep (new octave_magic_colon ()) -{ -} +{ } octave_value::octave_value (octave_base_value *new_rep, bool borrow) : rep (new_rep)
--- a/libinterp/parse-tree/pt-check.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/libinterp/parse-tree/pt-check.cc Thu Sep 01 09:33:55 2016 -0700 @@ -62,8 +62,7 @@ void tree_checker::visit_break_command (tree_break_command&) -{ -} +{ } void tree_checker::visit_colon_expression (tree_colon_expression& expr) @@ -86,8 +85,7 @@ void tree_checker::visit_continue_command (tree_continue_command&) -{ -} +{ } void tree_checker::do_decl_command (tree_decl_command& cmd) @@ -227,8 +225,7 @@ void tree_checker::visit_identifier (tree_identifier& /* id */) -{ -} +{ } void tree_checker::visit_if_clause (tree_if_clause& cmd) @@ -338,28 +335,23 @@ void tree_checker::visit_no_op_command (tree_no_op_command& /* cmd */) -{ -} +{ } void tree_checker::visit_anon_fcn_handle (tree_anon_fcn_handle& /* afh */) -{ -} +{ } void tree_checker::visit_constant (tree_constant& /* val */) -{ -} +{ } void tree_checker::visit_fcn_handle (tree_fcn_handle& /* fh */) -{ -} +{ } void tree_checker::visit_funcall (tree_funcall& /* fc */) -{ -} +{ } void tree_checker::visit_parameter_list (tree_parameter_list& lst) @@ -395,8 +387,7 @@ void tree_checker::visit_return_command (tree_return_command&) -{ -} +{ } void tree_checker::visit_return_list (tree_return_list& lst)
--- a/liboctave/array/CColVector.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/CColVector.cc Thu Sep 01 09:33:55 2016 -0700 @@ -40,8 +40,7 @@ ComplexColumnVector::ComplexColumnVector (const ColumnVector& a) : MArray<Complex> (a) -{ -} +{ } bool ComplexColumnVector::operator == (const ComplexColumnVector& a) const
--- a/liboctave/array/CMatrix.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/CMatrix.cc Thu Sep 01 09:33:55 2016 -0700 @@ -73,18 +73,15 @@ ComplexMatrix::ComplexMatrix (const Matrix& a) : ComplexNDArray (a) -{ -} +{ } ComplexMatrix::ComplexMatrix (const RowVector& rv) : ComplexNDArray (rv) -{ -} +{ } ComplexMatrix::ComplexMatrix (const ColumnVector& cv) : ComplexNDArray (cv) -{ -} +{ } ComplexMatrix::ComplexMatrix (const DiagMatrix& a) : ComplexNDArray (a.dims (), 0.0) @@ -109,13 +106,11 @@ ComplexMatrix::ComplexMatrix (const ComplexRowVector& rv) : ComplexNDArray (rv) -{ -} +{ } ComplexMatrix::ComplexMatrix (const ComplexColumnVector& cv) : ComplexNDArray (cv) -{ -} +{ } ComplexMatrix::ComplexMatrix (const ComplexDiagMatrix& a) : ComplexNDArray (a.dims (), 0.0) @@ -142,8 +137,7 @@ ComplexMatrix::ComplexMatrix (const boolMatrix& a) : ComplexNDArray (a) -{ -} +{ } ComplexMatrix::ComplexMatrix (const charMatrix& a) : ComplexNDArray (a.dims (), 0.0)
--- a/liboctave/array/CSparse.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/CSparse.cc Thu Sep 01 09:33:55 2016 -0700 @@ -73,8 +73,7 @@ SparseComplexMatrix::SparseComplexMatrix (const SparseMatrix& a) : MSparse<Complex> (a) -{ -} +{ } SparseComplexMatrix::SparseComplexMatrix (const SparseBoolMatrix& a) : MSparse<Complex> (a.rows (), a.cols (), a.nnz ())
--- a/liboctave/array/dMatrix.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/dMatrix.cc Thu Sep 01 09:33:55 2016 -0700 @@ -68,13 +68,11 @@ Matrix::Matrix (const RowVector& rv) : NDArray (rv) -{ -} +{ } Matrix::Matrix (const ColumnVector& cv) : NDArray (cv) -{ -} +{ } Matrix::Matrix (const DiagMatrix& a) : NDArray (a.dims (), 0.0) @@ -110,8 +108,7 @@ Matrix::Matrix (const boolMatrix& a) : NDArray (a) -{ -} +{ } Matrix::Matrix (const charMatrix& a) : NDArray (a.dims ())
--- a/liboctave/array/fCColVector.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/fCColVector.cc Thu Sep 01 09:33:55 2016 -0700 @@ -40,8 +40,7 @@ FloatComplexColumnVector::FloatComplexColumnVector (const FloatColumnVector& a) : MArray<FloatComplex> (a) -{ -} +{ } bool FloatComplexColumnVector::operator == (const FloatComplexColumnVector& a) const
--- a/liboctave/array/fCMatrix.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/fCMatrix.cc Thu Sep 01 09:33:55 2016 -0700 @@ -71,18 +71,15 @@ FloatComplexMatrix::FloatComplexMatrix (const FloatMatrix& a) : FloatComplexNDArray (a) -{ -} +{ } FloatComplexMatrix::FloatComplexMatrix (const FloatRowVector& rv) : FloatComplexNDArray (rv) -{ -} +{ } FloatComplexMatrix::FloatComplexMatrix (const FloatColumnVector& cv) : FloatComplexNDArray (cv) -{ -} +{ } FloatComplexMatrix::FloatComplexMatrix (const FloatDiagMatrix& a) : FloatComplexNDArray (a.dims (), 0.0) @@ -107,13 +104,11 @@ FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector& rv) : FloatComplexNDArray (rv) -{ -} +{ } FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector& cv) : FloatComplexNDArray (cv) -{ -} +{ } FloatComplexMatrix::FloatComplexMatrix (const FloatComplexDiagMatrix& a) : FloatComplexNDArray (a.dims (), 0.0) @@ -141,8 +136,7 @@ FloatComplexMatrix::FloatComplexMatrix (const boolMatrix& a) : FloatComplexNDArray (a) -{ -} +{ } FloatComplexMatrix::FloatComplexMatrix (const charMatrix& a) : FloatComplexNDArray (a.dims (), 0.0)
--- a/liboctave/array/fMatrix.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/array/fMatrix.cc Thu Sep 01 09:33:55 2016 -0700 @@ -70,13 +70,11 @@ FloatMatrix::FloatMatrix (const FloatRowVector& rv) : FloatNDArray (rv) -{ -} +{ } FloatMatrix::FloatMatrix (const FloatColumnVector& cv) : FloatNDArray (cv) -{ -} +{ } FloatMatrix::FloatMatrix (const FloatDiagMatrix& a) : FloatNDArray (a.dims (), 0.0) @@ -112,8 +110,7 @@ FloatMatrix::FloatMatrix (const boolMatrix& a) : FloatNDArray (a) -{ -} +{ } FloatMatrix::FloatMatrix (const charMatrix& a) : FloatNDArray (a.dims ())
--- a/liboctave/numeric/aepbalance.h Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/numeric/aepbalance.h Thu Sep 01 09:33:55 2016 -0700 @@ -44,8 +44,7 @@ aepbalance (const aepbalance& a) : balanced_mat (a.balanced_mat), scale (a.scale), ilo(a.ilo), ihi(a.ihi), job(a.job) - { - } + { } aepbalance& operator = (const aepbalance& a) {
--- a/liboctave/numeric/oct-norm.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/numeric/oct-norm.cc Thu Sep 01 09:33:55 2016 -0700 @@ -71,8 +71,8 @@ { R p,scl,sum; public: - norm_accumulator_p () {} // we need this one for Array - norm_accumulator_p (R pp) : p(pp), scl(0), sum(1) {} + norm_accumulator_p () { } // we need this one for Array + norm_accumulator_p (R pp) : p(pp), scl(0), sum(1) { } template <typename U> void accum (U val) @@ -99,8 +99,8 @@ { R p,scl,sum; public: - norm_accumulator_mp () {} // we need this one for Array - norm_accumulator_mp (R pp) : p(pp), scl(0), sum(1) {} + norm_accumulator_mp () { } // we need this one for Array + norm_accumulator_mp (R pp) : p(pp), scl(0), sum(1) { } template <typename U> void accum (U val) @@ -128,7 +128,7 @@ R scl,sum; static R pow2 (R x) { return x*x; } public: - norm_accumulator_2 () : scl(0), sum(1) {} + norm_accumulator_2 () : scl(0), sum(1) { } void accum (R val) { @@ -160,7 +160,7 @@ { R sum; public: - norm_accumulator_1 () : sum (0) {} + norm_accumulator_1 () : sum (0) { } template <typename U> void accum (U val) { @@ -175,7 +175,7 @@ { R max; public: - norm_accumulator_inf () : max (0) {} + norm_accumulator_inf () : max (0) { } template <typename U> void accum (U val) { @@ -193,7 +193,7 @@ { R min; public: - norm_accumulator_minf () : min (octave::numeric_limits<R>::Inf ()) {} + norm_accumulator_minf () : min (octave::numeric_limits<R>::Inf ()) { } template <typename U> void accum (U val) { @@ -211,7 +211,7 @@ { unsigned int num; public: - norm_accumulator_0 () : num (0) {} + norm_accumulator_0 () : num (0) { } template <typename U> void accum (U val) {
--- a/liboctave/util/byte-swap.h Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/util/byte-swap.h Thu Sep 01 09:33:55 2016 -0700 @@ -46,8 +46,7 @@ template <> inline void swap_bytes<1> (void *) -{ -} +{ } template <> inline void @@ -90,8 +89,7 @@ template <> inline void swap_bytes<1> (void *, int) -{ -} +{ } #endif
--- a/liboctave/util/cmd-hist.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/util/cmd-hist.cc Thu Sep 01 09:33:55 2016 -0700 @@ -840,13 +840,11 @@ void command_history::do_remove (int) - { - } + { } void command_history::do_clear (void) - { - } + { } int command_history::do_where (void) const @@ -880,8 +878,7 @@ void command_history::do_stifle (int) - { - } + { } int command_history::do_unstifle (void) @@ -897,8 +894,7 @@ void command_history::do_set_mark (int) - { - } + { } int command_history::do_goto_mark (void) @@ -987,8 +983,7 @@ void command_history::do_replace_entry (int, const std::string&) - { - } + { } void command_history::do_clean_up_and_save (const std::string& f_arg, int)
--- a/liboctave/util/oct-sort.cc Thu Sep 01 09:56:57 2016 -0400 +++ b/liboctave/util/oct-sort.cc Thu Sep 01 09:33:55 2016 -0700 @@ -119,14 +119,12 @@ template <typename T> octave_sort<T>::octave_sort (void) : compare (ascending_compare), ms (0) -{ -} +{ } template <typename T> octave_sort<T>::octave_sort (compare_fcn_type comp) : compare (comp), ms (0) -{ -} +{ } template <typename T> octave_sort<T>::~octave_sort ()