Skip to content

Commit 52c2cab

Browse files
committed
SVF code formatter
1 parent c173019 commit 52c2cab

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

svf/include/AE/Core/ICFGWTO.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ class ICFGWTO : public WTO<ICFG>
5454
Set<const FunObjVar*> scc;
5555

5656
explicit ICFGWTO(ICFG* graph,const ICFGNode* node, Set<const FunObjVar*> funcScc = {}) :
57-
Base(graph, node), scc(funcScc){
58-
if (scc.empty()) // if empty funcScc, default use the function of the node
59-
scc.insert(node->getFun());
60-
}
57+
Base(graph, node), scc(funcScc)
58+
{
59+
if (scc.empty()) // if empty funcScc, default use the function of the node
60+
scc.insert(node->getFun());
61+
}
6162

6263
virtual ~ICFGWTO()
6364
{

svf/lib/AE/Svfexe/AbstractInterpretation.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ void AbstractInterpretation::initWTO()
133133
if (isEntry)
134134
{
135135
Set<const FunObjVar*> funcScc;
136-
for (const auto& node: cgSCCNodes) {
136+
for (const auto& node: cgSCCNodes)
137+
{
137138
funcScc.insert(callGraph->getGNode(node)->getFunction());
138139
}
139140
ICFGWTO* iwto = new ICFGWTO(icfg, icfg->getFunEntryICFGNode(fun), funcScc);
@@ -790,8 +791,8 @@ void AbstractInterpretation::handleCycleWTO(const ICFGCycleWTO*cycle)
790791
{
791792

792793
if (isRecursiveFun(cycle->head()->getICFGNode()->getFun()) &&
793-
!(Options::HandleRecur() == WIDEN_ONLY ||
794-
Options::HandleRecur() == WIDEN_NARROW))
794+
!(Options::HandleRecur() == WIDEN_ONLY ||
795+
Options::HandleRecur() == WIDEN_NARROW))
795796
{
796797
// When Options::HandleRecur() == TOP, skipRecursiveCall will handle recursions,
797798
// thus should not reach this branch

0 commit comments

Comments
 (0)