Commit 8d0eb591 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 583888ea
......@@ -76,7 +76,7 @@ struct program
void from_value(const value& v);
void debug_print() const;
void debug_print(instruction_ref ins,
void debug_print(instruction_ref ins,
const std::unordered_map<instruction_ref, std::string>& ins_names) const;
void print(std::unordered_map<instruction_ref, std::string>& names,
const std::function<void(instruction_ref,
......
......@@ -707,7 +707,7 @@ void program::perf_report(std::ostream& os,
}
void program::debug_print() const { std::cout << *this << std::endl; }
void program::debug_print(instruction_ref ins,
void program::debug_print(instruction_ref ins,
const std::unordered_map<instruction_ref, std::string>& ins_names) const
{
if(std::any_of(this->impl->modules.begin(), this->impl->modules.end(), [&](const auto& pp) {
......@@ -725,7 +725,7 @@ void program::debug_print(instruction_ref ins,
return;
}
if (contains(ins_names, ins))
if(contains(ins_names, ins))
{
instruction::print(std::cout, ins, ins_names);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment