Skip to content

Commit

Permalink
linker: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wkennington committed Dec 11, 2019
1 parent d6d3412 commit 84ab1ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/linker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ constexpr nonstd::string_view dynamic_linker = "";
#endif

void maybeFilterLinking(std::vector<nonstd::string_view> &new_args,
nonstd::span<const nonstd::string_view> old_args, bool is_linking) {
nonstd::span<const nonstd::string_view> old_args,
bool is_linking) {
if (!is_linking)
args::filterLinking(new_args, old_args);
else
Expand Down Expand Up @@ -60,7 +61,8 @@ int main(const bins::Info &info, nonstd::span<const nonstd::string_view> args) {
}

std::vector<nonstd::string_view> filtered_args, filtered_args_begin;
path::appendGood(filtered_args_begin, combined_args_begin, env::purePrefixes());
path::appendGood(filtered_args_begin, combined_args_begin,
env::purePrefixes());
path::appendGood(filtered_args, combined_args, env::purePrefixes());

const bool is_linking = args::isLinking(args);
Expand Down

0 comments on commit 84ab1ab

Please sign in to comment.