From 3eea219548e84efdbc3148ce378fcba865f97a01 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 6 Dec 2013 14:15:43 -0800 Subject: Add basic source formatting tools --- src/strings/all.hpp | 16 ++++++++-------- src/strings/base.hpp | 8 ++++---- src/strings/fstring.hpp | 12 ++++++------ src/strings/fwd.hpp | 2 +- src/strings/mstring.hpp | 4 ++-- src/strings/pair.hpp | 6 +++--- src/strings/sstring.hpp | 6 +++--- src/strings/tstring.hpp | 6 +++--- src/strings/vstring.hpp | 4 ++-- src/strings/xstring.hpp | 4 ++-- src/strings/zstring.hpp | 6 +++--- 11 files changed, 37 insertions(+), 37 deletions(-) (limited to 'src/strings') diff --git a/src/strings/all.hpp b/src/strings/all.hpp index 333cb4b..7fd543f 100644 --- a/src/strings/all.hpp +++ b/src/strings/all.hpp @@ -19,13 +19,13 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "base.hpp" -#include "mstring.hpp" -#include "fstring.hpp" -#include "tstring.hpp" -#include "sstring.hpp" -#include "zstring.hpp" -#include "xstring.hpp" -#include "vstring.hpp" +# include "base.hpp" +# include "mstring.hpp" +# include "fstring.hpp" +# include "tstring.hpp" +# include "sstring.hpp" +# include "zstring.hpp" +# include "xstring.hpp" +# include "vstring.hpp" #endif // TMWA_STRINGS_ALL_HPP diff --git a/src/strings/base.hpp b/src/strings/base.hpp index 8c0e924..7461872 100644 --- a/src/strings/base.hpp +++ b/src/strings/base.hpp @@ -19,10 +19,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "fwd.hpp" -#include "pair.hpp" +# include "fwd.hpp" +# include "pair.hpp" -#include +# include // It is a common mistake to assume that one string class for everything. // Because C++ and TMWA have a C legacy, there are a few more here @@ -192,6 +192,6 @@ namespace strings auto operator >= (const L& l, const R& r) -> decltype((pair_compare(l, r), true)); } // namespace strings -#include "base.tcc" +# include "base.tcc" #endif // TMWA_STRINGS_BASE_HPP diff --git a/src/strings/fstring.hpp b/src/strings/fstring.hpp index 8538b70..b025d74 100644 --- a/src/strings/fstring.hpp +++ b/src/strings/fstring.hpp @@ -19,13 +19,13 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include -#include +# include +# include -#include -#include +# include +# include -#include "base.hpp" +# include "base.hpp" namespace strings { @@ -89,6 +89,6 @@ namespace strings StringConverter convert_for_scanf(FString& s); } // namespace strings -#include "fstring.tcc" +# include "fstring.tcc" #endif // TMWA_STRINGS_FSTRING_HPP diff --git a/src/strings/fwd.hpp b/src/strings/fwd.hpp index 9d71b5f..a865fc4 100644 --- a/src/strings/fwd.hpp +++ b/src/strings/fwd.hpp @@ -19,7 +19,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "../sanity.hpp" +# include "../sanity.hpp" // It is a common mistake to assume that one string class for everything. // Because C++ and TMWA have a C legacy, there are a few more here diff --git a/src/strings/mstring.hpp b/src/strings/mstring.hpp index 9658601..6f257ed 100644 --- a/src/strings/mstring.hpp +++ b/src/strings/mstring.hpp @@ -19,9 +19,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include +# include -#include "base.hpp" +# include "base.hpp" namespace strings { diff --git a/src/strings/pair.hpp b/src/strings/pair.hpp index 2c0061a..a519ddb 100644 --- a/src/strings/pair.hpp +++ b/src/strings/pair.hpp @@ -19,11 +19,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "../sanity.hpp" +# include "../sanity.hpp" -#include +# include -#include "fwd.hpp" +# include "fwd.hpp" namespace strings { diff --git a/src/strings/sstring.hpp b/src/strings/sstring.hpp index a9558c9..12fb96d 100644 --- a/src/strings/sstring.hpp +++ b/src/strings/sstring.hpp @@ -19,8 +19,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "base.hpp" -#include "fstring.hpp" +# include "base.hpp" +# include "fstring.hpp" namespace strings { @@ -54,6 +54,6 @@ namespace strings }; } // namespace strings -#include "sstring.tcc" +# include "sstring.tcc" #endif // TMWA_STRINGS_SSTRING_HPP diff --git a/src/strings/tstring.hpp b/src/strings/tstring.hpp index 5d283fa..49ec4ab 100644 --- a/src/strings/tstring.hpp +++ b/src/strings/tstring.hpp @@ -19,8 +19,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "base.hpp" -#include "fstring.hpp" +# include "base.hpp" +# include "fstring.hpp" namespace strings { @@ -61,6 +61,6 @@ namespace strings const char *decay_for_printf(const TString& ts); } // namespace strings -#include "tstring.tcc" +# include "tstring.tcc" #endif // TMWA_STRINGS_TSTRING_HPP diff --git a/src/strings/vstring.hpp b/src/strings/vstring.hpp index 7864b7d..c07c32a 100644 --- a/src/strings/vstring.hpp +++ b/src/strings/vstring.hpp @@ -19,7 +19,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "base.hpp" +# include "base.hpp" namespace strings { @@ -64,6 +64,6 @@ namespace strings int do_vprint(VString& out, const char *fmt, va_list ap); } // namespace strings -#include "vstring.tcc" +# include "vstring.tcc" #endif // TMWA_STRINGS_VSTRING_HPP diff --git a/src/strings/xstring.hpp b/src/strings/xstring.hpp index 72cae1e..e96ef8a 100644 --- a/src/strings/xstring.hpp +++ b/src/strings/xstring.hpp @@ -19,7 +19,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include "base.hpp" +# include "base.hpp" namespace strings { @@ -56,6 +56,6 @@ namespace strings }; } // namespace strings -#include "xstring.tcc" +# include "xstring.tcc" #endif // TMWA_STRINGS_XSTRING_HPP diff --git a/src/strings/zstring.hpp b/src/strings/zstring.hpp index 358e3bc..72a227c 100644 --- a/src/strings/zstring.hpp +++ b/src/strings/zstring.hpp @@ -19,9 +19,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#include +# include -#include "base.hpp" +# include "base.hpp" namespace strings { @@ -66,6 +66,6 @@ namespace strings int do_vscan(ZString in, const char *fmt, va_list ap); } // namespace strings -#include "zstring.tcc" +# include "zstring.tcc" #endif // TMWA_STRINGS_ZSTRING_HPP -- cgit v1.2.3-60-g2f50