changeset 22412:2bc07741efa0

maint: Style check C++ code in src/ directory. * display-available.h, main-cli.cc, main-gui.cc, main.in.cc, mkoctfile.in.cc, octave-config.in.cc, shared-fcns.h: Style check C++ code in src/ directory.
author Rik <rik@octave.org>
date Wed, 31 Aug 2016 12:24:38 -0700
parents c69805d1fa64
children 8758addcf265
files src/display-available.h src/main-cli.cc src/main-gui.cc src/main.in.cc src/mkoctfile.in.cc src/octave-config.in.cc src/shared-fcns.h
diffstat 7 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/display-available.h	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/display-available.h	Wed Aug 31 12:24:38 2016 -0700
@@ -35,3 +35,4 @@
 #endif
 
 #endif
+
--- a/src/main-cli.cc	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/main-cli.cc	Wed Aug 31 12:24:38 2016 -0700
@@ -89,3 +89,4 @@
 
   return app.execute ();
 }
+
--- a/src/main-gui.cc	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/main-gui.cc	Wed Aug 31 12:24:38 2016 -0700
@@ -103,3 +103,4 @@
 
   return app.execute ();
 }
+
--- a/src/main.in.cc	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/main.in.cc	Wed Aug 31 12:24:38 2016 -0700
@@ -419,3 +419,4 @@
 intended to help for hacking Octave. It may also be useful for
 understanding the Octave API when writing your own .oct files.
 */
+
--- a/src/mkoctfile.in.cc	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/mkoctfile.in.cc	Wed Aug 31 12:24:38 2016 -0700
@@ -628,8 +628,8 @@
                   size_t spos = line.rfind ('/', pos);
                   std::string ofile =
                     (spos == std::string::npos
-                      ? line.substr (0, pos+2)
-                      : line.substr (spos+1, pos-spos+1));
+                     ? line.substr (0, pos+2)
+                     : line.substr (spos+1, pos-spos+1));
                   fo << "pic/" << ofile << " " << ofile << " "
                      << dfile << line.substr (pos) << std::endl;
                 }
@@ -662,8 +662,8 @@
                   size_t spos = line.rfind ('/', pos);
                   std::string ofile =
                     (spos == std::string::npos
-                      ? line.substr (0, pos+2)
-                      : line.substr (spos+1, pos-spos+1));
+                     ? line.substr (0, pos+2)
+                     : line.substr (spos+1, pos-spos+1));
                   fo << "pic/" << ofile << " " << ofile << " "
                      << dfile << line.substr (pos+2) << std::endl;
                 }
@@ -824,3 +824,4 @@
 
   return result;
 }
+
--- a/src/octave-config.in.cc	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/octave-config.in.cc	Wed Aug 31 12:24:38 2016 -0700
@@ -174,3 +174,4 @@
 
   return 0;
 }
+
--- a/src/shared-fcns.h	Wed Aug 31 12:20:46 2016 -0700
+++ b/src/shared-fcns.h	Wed Aug 31 12:24:38 2016 -0700
@@ -145,3 +145,4 @@
 }
 
 #endif
+