Skip to content

Commit

Permalink
SVF code formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleisui committed Jan 27, 2025
1 parent e63973d commit 2a51225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion svf/include/DDA/DDAPass.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class DDAPass
~DDAPass();

/// Interface expose to users of our pointer analysis, given Value infos
virtual AliasResult alias(const SVFVar* V1, const SVFVar* V2) {
virtual AliasResult alias(const SVFVar* V1, const SVFVar* V2)
{
return alias(V1->getId(), V2->getId());
}

Expand Down
3 changes: 2 additions & 1 deletion svf/include/MemoryModel/PointerAnalysisImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ class BVDataPTAImpl : public PointerAnalysis
public:
/// Interface expose to users of our pointer analysis, given Value infos
AliasResult alias(const SVFVar* V1,
const SVFVar* V2) override {
const SVFVar* V2) override
{
return alias(V1->getId(), V2->getId());
}

Expand Down

0 comments on commit 2a51225

Please sign in to comment.