Task: Moved include to top of list, per flint++ recommendation

This commit is contained in:
Paul Beckingham 2015-11-01 19:59:10 -05:00
parent 5d9ca9864e
commit 5c8b7148b4
17 changed files with 17 additions and 17 deletions

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Context.h>
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
@ -33,7 +34,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <Context.h>
#include <FS.h> #include <FS.h>
#include <Eval.h> #include <Eval.h>
#include <Variant.h> #include <Variant.h>

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <DOM.h>
#include <sstream> #include <sstream>
#include <map> #include <map>
#include <stdlib.h> #include <stdlib.h>
@ -34,7 +35,6 @@
#include <ISO8601.h> #include <ISO8601.h>
#include <text.h> #include <text.h>
#include <i18n.h> #include <i18n.h>
#include <DOM.h>
extern Context context; extern Context context;

View file

@ -25,11 +25,11 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Dates.h>
#include <algorithm> #include <algorithm>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#include <text.h> #include <text.h>
#include <Dates.h>
#include <ISO8601.h> #include <ISO8601.h>
#include <Lexer.h> #include <Lexer.h>
#include <CLI2.h> #include <CLI2.h>

View file

@ -25,12 +25,12 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Eval.h>
#include <map> #include <map>
#include <time.h> #include <time.h>
#include <Context.h> #include <Context.h>
#include <Task.h> #include <Task.h>
#include <Color.h> #include <Color.h>
#include <Eval.h>
#include <text.h> #include <text.h>
#include <i18n.h> #include <i18n.h>

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <FS.h>
#include <fstream> #include <fstream>
#include <glob.h> #include <glob.h>
#include <sys/types.h> #include <sys/types.h>
@ -40,7 +41,6 @@
#include <text.h> #include <text.h>
#include <util.h> #include <util.h>
#include <i18n.h> #include <i18n.h>
#include <FS.h>
#if defined SOLARIS || defined NETBSD || defined FREEBSD #if defined SOLARIS || defined NETBSD || defined FREEBSD
#include <limits.h> #include <limits.h>

View file

@ -25,12 +25,12 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Filter.h>
#include <algorithm> #include <algorithm>
#include <Context.h> #include <Context.h>
#include <Eval.h> #include <Eval.h>
#include <Variant.h> #include <Variant.h>
#include <Dates.h> #include <Dates.h>
#include <Filter.h>
#include <i18n.h> #include <i18n.h>
#include <text.h> #include <text.h>
#include <util.h> #include <util.h>

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Hooks.h>
#include <algorithm> #include <algorithm>
// If <iostream> is included, put it after <stdio.h>, because it includes // If <iostream> is included, put it after <stdio.h>, because it includes
// <stdio.h>, and therefore would ignore the _WITH_GETLINE. // <stdio.h>, and therefore would ignore the _WITH_GETLINE.
@ -37,7 +38,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <Context.h> #include <Context.h>
#include <JSON.h> #include <JSON.h>
#include <Hooks.h>
#include <Timer.h> #include <Timer.h>
#include <text.h> #include <text.h>
#include <util.h> #include <util.h>

View file

@ -25,13 +25,13 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <ISO8601.h>
#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include <Lexer.h> #include <Lexer.h>
#include <util.h> #include <util.h>
#include <ISO8601.h>
#include <Dates.h> #include <Dates.h>
#include <text.h> #include <text.h>
#include <utf8.h> #include <utf8.h>

View file

@ -25,10 +25,10 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <JSON.h>
#include <text.h> #include <text.h>
#include <i18n.h> #include <i18n.h>
#include <utf8.h> #include <utf8.h>
#include <JSON.h>
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
json::value* json::value::parse (Nibbler& nibbler) json::value* json::value::parse (Nibbler& nibbler)

View file

@ -25,9 +25,9 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <RX.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <RX.h>
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
RX::RX () RX::RX ()

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <TDB2.h>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <algorithm> #include <algorithm>
@ -39,7 +40,6 @@
#include <text.h> #include <text.h>
#include <util.h> #include <util.h>
#include <main.h> #include <main.h>
#include <TDB2.h>
extern Context context; extern Context context;

View file

@ -28,6 +28,7 @@
#ifdef HAVE_LIBGNUTLS #ifdef HAVE_LIBGNUTLS
#include <TLSClient.h>
#include <iostream> #include <iostream>
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
@ -44,7 +45,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netdb.h> #include <netdb.h>
#include <TLSClient.h>
#include <gnutls/x509.h> #include <gnutls/x509.h>
#include <text.h> #include <text.h>
#include <i18n.h> #include <i18n.h>

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Task.h>
#include <sstream> #include <sstream>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
@ -41,7 +42,6 @@
#include <Nibbler.h> #include <Nibbler.h>
#endif #endif
#include <ISO8601.h> #include <ISO8601.h>
#include <Task.h>
#ifdef PRODUCT_TASKWARRIOR #ifdef PRODUCT_TASKWARRIOR
#include <RX.h> #include <RX.h>
#endif #endif

View file

@ -25,10 +25,10 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <Timer.h>
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <sstream> #include <sstream>
#include <Timer.h>
#include <Context.h> #include <Context.h>
extern Context context; extern Context context;

View file

@ -25,8 +25,8 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <numeric>
#include <ViewTask.h> #include <ViewTask.h>
#include <numeric>
#include <Context.h> #include <Context.h>
#include <Timer.h> #include <Timer.h>
#include <text.h> #include <text.h>

View file

@ -25,8 +25,8 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <string>
#include <utf8.h> #include <utf8.h>
#include <string>
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Converts '0' -> 0 // Converts '0' -> 0

View file

@ -25,6 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cmake.h> #include <cmake.h>
#include <util.h>
// If <iostream> is included, put it after <stdio.h>, because it includes // If <iostream> is included, put it after <stdio.h>, because it includes
// <stdio.h>, and therefore would ignore the _WITH_GETLINE. // <stdio.h>, and therefore would ignore the _WITH_GETLINE.
#ifdef FREEBSD #ifdef FREEBSD
@ -55,7 +56,6 @@
#include <text.h> #include <text.h>
#include <main.h> #include <main.h>
#include <i18n.h> #include <i18n.h>
#include <util.h>
extern Context context; extern Context context;