Skip to content

Commit a7c15e0

Browse files
committed
lint
1 parent cc3fe06 commit a7c15e0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/passes/GlobalEffects.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ void propagateEffects(const Module& module,
250250
const std::map<Function*, FuncInfo>& funcInfos,
251251
const CallGraph& callGraph,
252252
const Module& module)
253-
: SCCs<std::vector<CallGraphNode>::iterator, CallGraphSCCs>(
254-
nodes.begin(), nodes.end()),
253+
: SCCs<std::vector<CallGraphNode>::iterator, CallGraphSCCs>(nodes.begin(),
254+
nodes.end()),
255255
funcInfos(funcInfos), callGraph(callGraph), module(module) {}
256256

257257
void pushChildren(CallGraphNode node) {

src/support/graph_traversal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ template<typename T, typename SuccessorFunction> class Graph {
4141
template<typename It, typename Sen>
4242
#endif
4343
Graph(It rootsBegin, Sen rootsEnd, SuccessorFunction successors)
44-
: roots(rootsBegin, rootsEnd), successors(std::move(successors)) {}
44+
: roots(rootsBegin, rootsEnd), successors(std::move(successors)) {
45+
}
4546

4647
// Traverse the graph depth-first, calling `successors` exactly once for each
4748
// node (unless the node appears multiple times in `roots`). Return the set of

0 commit comments

Comments
 (0)