Skip to content

Commit

Permalink
Merge branch 'feat/reformat' into 'devel'
Browse files Browse the repository at this point in the history
[NFC] Fix formatting

See merge request tuda-sc/projects/metacg!186
  • Loading branch information
Kreutzer, Sebastian committed Feb 7, 2025
2 parents 24e597c + 29178f2 commit f6e3440
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cgcollector/lib/include/MetaCollector.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class MallocVariableCollector : public MetaCollector {
std::map<std::string, std::string>& allocs;

public:
MallocFinder(clang::ASTContext& ctx, std::map<std::string, std::string>& allocs) : ctx(ctx), allocs(allocs){};
MallocFinder(clang::ASTContext& ctx, std::map<std::string, std::string>& allocs) : ctx(ctx), allocs(allocs) {};
~MallocFinder() = default;

void VisitStmt(clang::Stmt* stmt) {
Expand Down
2 changes: 1 addition & 1 deletion cgcollector/test/input/functionPointers/0201.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

using func_t = void (*)();

void foo(){};
void foo() {};

func_t get_f(func_t f) { return f; }

Expand Down
2 changes: 1 addition & 1 deletion cgcollector/test/input/singleTU/0235.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ void foo() {}

class C {
public:
C(Function F) : member(F){};
C(Function F) : member(F) {};

Function member;
};
Expand Down
2 changes: 1 addition & 1 deletion cgcollector/test/input/singleTUAA/0242.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Test for the handling of constructors and destructors when passing arguments
struct A {
~A(){};
~A() {};
};

// Should not call destructors
Expand Down
2 changes: 1 addition & 1 deletion cgcollector/test/input/virtualCalls/0021.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MyClassDerive : public MyClass {

class MyClassDeriveDerive : public MyClassDerive {
public:
void foo() override{};
void foo() override {};
};

void MyClassDerive::foo() {}
Expand Down
2 changes: 1 addition & 1 deletion pgis/lib/include/PiraMCGProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PiraMCGProcessor {
}

private:
PiraMCGProcessor() : graph(&getEmptyGraph()), configPtr(nullptr), epModelProvider({}){};
PiraMCGProcessor() : graph(&getEmptyGraph()), configPtr(nullptr), epModelProvider({}) {};
explicit PiraMCGProcessor(Config* config, extrapconnection::ExtrapConfig epCfg = {});

PiraMCGProcessor(const PiraMCGProcessor& other) = default;
Expand Down
2 changes: 1 addition & 1 deletion pgis/test/unit/CallgraphTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "gtest/gtest.h"

//#include "LoggerUtil.h"
// #include "LoggerUtil.h"

#include "../../../graph/include/Callgraph.h"
#include "../../../graph/include/LoggerUtil.h"
Expand Down
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Graph-based tools will be added here
# Graph-based tools will be added here

0 comments on commit f6e3440

Please sign in to comment.