Applied iwyu --comment to the code base (#588)

This commit is contained in:
Tiago
2017-11-28 07:13:49 -08:00
committed by Neil MacIntosh
parent 1c95f9436e
commit 0d33bf6794
20 changed files with 157 additions and 102 deletions
+9 -3
View File
@@ -14,11 +14,17 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, CHE...
#include <gsl/gsl_algorithm>
#include <gsl/gsl_algorithm> // for copy
#include <gsl/span> // for span
#include <array>
#include <array> // for array
#include <cstddef> // for size_t
namespace gsl {
struct fail_fast;
} // namespace gsl
using namespace std;
using namespace gsl;
+2 -2
View File
@@ -14,9 +14,9 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, CHECK...
#include <gsl/gsl>
#include <gsl/gsl_assert> // for fail_fast (ptr only), Ensures, Expects
using namespace gsl;
+10 -4
View File
@@ -14,12 +14,18 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK_THROW...
#include <gsl/gsl>
#include <gsl/gsl_util> // for at
#include <initializer_list>
#include <vector>
#include <array> // for array
#include <cstddef> // for size_t
#include <initializer_list> // for initializer_list
#include <vector> // for vector
namespace gsl {
struct fail_fast;
} // namespace gsl
using gsl::fail_fast;
+7 -3
View File
@@ -14,11 +14,15 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, TEST_CASE
#include <gsl/multi_span>
#include <gsl/multi_span> // for static_bounds, static_bounds_dynamic_range_t
#include <vector>
#include <cstddef> // for ptrdiff_t, size_t
namespace gsl {
struct fail_fast;
} // namespace gsl
using namespace std;
using namespace gsl;
+2 -9
View File
@@ -14,16 +14,9 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, TEST_...
#include <gsl/gsl_byte>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <gsl/gsl_byte> // for to_byte, to_integer, byte, operator&, ope...
using namespace std;
using namespace gsl;
+16 -8
View File
@@ -14,16 +14,24 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, CHECK...
#include <gsl/multi_span>
#include <gsl/gsl_byte> // for byte
#include <gsl/gsl_util> // for narrow_cast
#include <gsl/multi_span> // for multi_span, contiguous_span_iterator, dim
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <algorithm> // for fill, for_each
#include <array> // for array
#include <iostream> // for ptrdiff_t, size_t
#include <iterator> // for reverse_iterator, begin, end, operator!=
#include <numeric> // for iota
#include <stddef.h> // for ptrdiff_t
#include <string> // for string
#include <vector> // for vector
namespace gsl {
struct fail_fast;
} // namespace gsl
using namespace std;
using namespace gsl;
+12 -5
View File
@@ -14,13 +14,20 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, TEST_...
#include <gsl/pointers>
#include <gsl/pointers> // for not_null, operator<, operator<=, operator>
#include <memory>
#include <string>
#include <vector>
#include <algorithm> // for addressof
#include <memory> // for shared_ptr, make_shared, operator<, opera...
#include <sstream> // for operator<<, ostringstream, basic_ostream:...
#include <stdint.h> // for uint16_t
#include <string> // for basic_string, operator==, string, operator<<
#include <typeinfo> // for type_info
namespace gsl {
struct fail_fast;
} // namespace gsl
using namespace gsl;
+2 -5
View File
@@ -14,12 +14,9 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, TEST_...
#include <gsl/pointers>
#include <functional>
#include <memory>
#include <gsl/pointers> // for owner
using namespace gsl;
+17 -9
View File
@@ -14,17 +14,25 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, TEST_...
#include <gsl/span>
#include <gsl/gsl_byte> // for byte
#include <gsl/gsl_util> // for narrow_cast, at
#include <gsl/span> // for span, span_iterator, operator==, operator!=
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <regex>
#include <string>
#include <vector>
#include <array> // for array
#include <iostream> // for ptrdiff_t
#include <iterator> // for reverse_iterator, operator-, operator==
#include <memory> // for unique_ptr, shared_ptr, make_unique, allo...
#include <regex> // for match_results, sub_match, match_results<>...
#include <stddef.h> // for ptrdiff_t
#include <string> // for string
#include <type_traits> // for integral_constant<>::value, is_default_co...
#include <vector> // for vector
namespace gsl {
struct fail_fast;
} // namespace gsl
using namespace std;
using namespace gsl;
+13 -8
View File
@@ -14,16 +14,21 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, CHECK...
#include <gsl/multi_span>
#include <gsl/gsl_byte> // for byte
#include <gsl/gsl_util> // for narrow_cast
#include <gsl/multi_span> // for strided_span, index, multi_span, strided_...
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <iostream> // for size_t
#include <iterator> // for begin, end
#include <numeric> // for iota
#include <type_traits> // for integral_constant<>::value, is_convertible
#include <vector> // for vector
namespace gsl {
struct fail_fast;
} // namespace gsl
using namespace std;
using namespace gsl;
+11 -7
View File
@@ -14,15 +14,19 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, TEST_...
#include <gsl/gsl> //owner
#include <gsl/string_span>
#include <gsl/gsl_assert> // for Expects, fail_fast (ptr only)
#include <gsl/pointers> // for owner
#include <gsl/span> // for span, dynamic_extent
#include <gsl/string_span> // for basic_string_span, operator==, ensure_z
#include <algorithm>
#include <cstdlib>
#include <map>
#include <vector>
#include <algorithm> // for move, find
#include <cstddef> // for size_t
#include <map> // for map
#include <string> // for basic_string, string, char_traits, operat...
#include <type_traits> // for remove_reference<>::type
#include <vector> // for vector, allocator
using namespace std;
using namespace gsl;
+6 -3
View File
@@ -14,11 +14,14 @@
//
///////////////////////////////////////////////////////////////////////////////
#include <catch/catch.hpp>
#include <catch/catch.hpp> // for AssertionHandler, StringRef, CHECK, TEST_...
#include <gsl/gsl>
#include <gsl/gsl_util> // for narrow, finally, narrow_cast, narrowing_e...
#include <functional>
#include <algorithm> // for move
#include <functional> // for reference_wrapper, _Bind_helper<>::type
#include <limits> // for numeric_limits
#include <stdint.h> // for uint32_t, int32_t
using namespace gsl;