Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Mar 30, 2017
1 parent 67d17f3 commit 2602a2f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/test/pegtl/actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ namespace tao

void count_test()
{
const char * foo = "f";
const char* foo = "f";
memory_input in( foo, foo + 1, count_source, count_byte, count_line, count_byte_in_line );
const auto result = parse_input< must< alpha >, count_action >( in );
TAOCPP_PEGTL_TEST_ASSERT( result );
Expand Down
5 changes: 2 additions & 3 deletions src/test/pegtl/file_mmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ namespace tao
class mmap_function_wrapper
{
public:
explicit
mmap_function_wrapper( const std::string& in_source )
explicit mmap_function_wrapper( const std::string& in_source )
: m_source( in_source )
{
}
Expand All @@ -45,7 +44,7 @@ namespace tao
const std::string m_source;
};

} // namespace test1
} // namespace test1

void unit_test()
{
Expand Down
5 changes: 2 additions & 3 deletions src/test/pegtl/file_read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ namespace tao
class file_function_wrapper
{
public:
explicit
file_function_wrapper( const std::string& in_source )
explicit file_function_wrapper( const std::string& in_source )
: m_source( in_source )
{
}
Expand All @@ -41,7 +40,7 @@ namespace tao
const std::string m_source;
};

} // namespace test1
} // namespace test1
void unit_test()
{
verify_file< read_parser >();
Expand Down
2 changes: 1 addition & 1 deletion src/test/pegtl/verify_file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ namespace tao
TAOCPP_PEGTL_TEST_ASSERT( result );
TAOCPP_PEGTL_TEST_ASSERT( flag == true );
}
const char * foo = "foo";
const char* foo = "foo";
const memory_input m{ foo, foo + 3, foo };
{
const std::string f{ "src/test/pegtl/file_data.txt" };
Expand Down

0 comments on commit 2602a2f

Please sign in to comment.