Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Apr 13, 2024
1 parent 8e967c9 commit 93a455e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

CXXSTD = -std=c++17
CPPFLAGS ?= -pedantic -Iinclude -Iexternal/json/include -Iexternal/json/external/PEGTL/include
CXXFLAGS ?= -Wall -Wextra -Werror -O3 -ftemplate-backtrace-limit=0
CXXFLAGS ?= -Wall -Wextra -Werror -O3

HEADERS := $(shell find include -name "*.hpp")
SOURCES := $(shell find src -name '*.cpp')
Expand Down
5 changes: 3 additions & 2 deletions src/test/config/independence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace tao::config
return internal::phase2_asterisks( st.root );
}

using func_t = std::size_t( * )( internal::state&, const internal::function_map& );
using func_t = std::size_t ( * )( internal::state&, const internal::function_map& );

std::set< func_t > p2funcs = { p2fun, p2add, p2ref, p2ast };

Expand All @@ -55,7 +55,8 @@ namespace tao::config
internal::config_parser p;
p.parse( path );

while( v[ 0 ]( p.st, p.fm ) | v[ 1 ]( p.st, p.fm ) | v[ 2 ]( p.st, p.fm ) | v[ 3 ]( p.st, p.fm ) );
while( v[ 0 ]( p.st, p.fm ) | v[ 1 ]( p.st, p.fm ) | v[ 2 ]( p.st, p.fm ) | v[ 3 ]( p.st, p.fm ) ) {
}

internal::phase3_remove( p.st.root );
const auto cc = internal::phase5_repack< traits >( p.st.root );
Expand Down

0 comments on commit 93a455e

Please sign in to comment.