Skip to content

Commit 11a8b1e

Browse files
committed
Clang format changed files.
1 parent 066a4cc commit 11a8b1e

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/ast/UserDefinedAggregator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
namespace souffle::ast {
2020
UserDefinedAggregator::UserDefinedAggregator(
2121
std::string name, Own<Argument> init, Own<Argument> expr, VecOwn<Literal> body, SrcLocation loc)
22-
: Aggregator(NK_UserDefinedAggregator, std::move(expr), std::move(body), std::move(loc)), name(std::move(name)),
23-
initValue(std::move(init)) {}
22+
: Aggregator(NK_UserDefinedAggregator, std::move(expr), std::move(body), std::move(loc)),
23+
name(std::move(name)), initValue(std::move(init)) {}
2424

2525
void UserDefinedAggregator::apply(const NodeMapper& map) {
2626
Aggregator::apply(map);

src/include/souffle/utility/ContainerUtil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ typename C::mapped_type const& getOr(
9393
if (it != container.end()) {
9494
return it->second;
9595
}
96-
96+
9797
return defaultValue;
9898
}
9999

src/ram/Aggregate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class Aggregate : public RelationOperation, public AbstractAggregate {
4949
public:
5050
Aggregate(Own<Operation> nested, Own<Aggregator> fun, std::string rel, Own<Expression> expression,
5151
Own<Condition> condition, std::size_t ident)
52-
: Aggregate(NK_Aggregate, std::move(nested), std::move(fun), std::move(rel), std::move(expression),
53-
std::move(condition), ident) {}
52+
: Aggregate(NK_Aggregate, std::move(nested), std::move(fun), std::move(rel),
53+
std::move(expression), std::move(condition), ident) {}
5454

5555
~Aggregate() override = default;
5656

src/ram/IndexAggregate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class IndexAggregate : public IndexOperation, public AbstractAggregate {
4747
public:
4848
IndexAggregate(Own<Operation> nested, Own<Aggregator> fun, std::string rel, Own<Expression> expression,
4949
Own<Condition> condition, RamPattern queryPattern, std::size_t ident)
50-
: IndexAggregate(NK_IndexAggregate, std::move(nested), std::move(fun), std::move(rel), std::move(expression),
51-
std::move(condition), std::move(queryPattern), ident) {}
50+
: IndexAggregate(NK_IndexAggregate, std::move(nested), std::move(fun), std::move(rel),
51+
std::move(expression), std::move(condition), std::move(queryPattern), ident) {}
5252

5353
IndexAggregate* cloning() const override {
5454
RamPattern pattern;

src/ram/IndexIfExists.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ class IndexIfExists : public IndexOperation, public AbstractIfExists {
8989
protected:
9090
IndexIfExists(NodeKind kind, std::string rel, std::size_t ident, Own<Condition> cond,
9191
RamPattern queryPattern, Own<Operation> nested, std::string profileText = "")
92-
: IndexOperation(
93-
kind, std::move(rel), ident, std::move(queryPattern), std::move(nested), std::move(profileText)),
92+
: IndexOperation(kind, std::move(rel), ident, std::move(queryPattern), std::move(nested),
93+
std::move(profileText)),
9494
AbstractIfExists(std::move(cond)) {
9595
assert(getRangePattern().first.size() == getRangePattern().second.size() && "Arity mismatch");
9696
assert(kind >= NK_IndexIfExists && kind < NK_LastIndexIfExists);

src/ram/IndexScan.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ class IndexScan : public IndexOperation {
7272
protected:
7373
IndexScan(NodeKind kind, std::string rel, std::size_t ident, RamPattern queryPattern,
7474
Own<Operation> nested, std::string profileText = "")
75-
: IndexOperation(
76-
kind, std::move(rel), ident, std::move(queryPattern), std::move(nested), std::move(profileText)) {
75+
: IndexOperation(kind, std::move(rel), ident, std::move(queryPattern), std::move(nested),
76+
std::move(profileText)) {
7777
assert(kind >= NK_IndexScan && kind < NK_LastIndexScan);
7878
}
7979

src/ram/ParallelIndexIfExists.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ class ParallelIndexIfExists : public IndexIfExists, public AbstractParallel {
5555
public:
5656
ParallelIndexIfExists(std::string rel, std::size_t ident, Own<Condition> cond, RamPattern queryPattern,
5757
Own<Operation> nested, std::string profileText = "")
58-
: IndexIfExists(NK_ParallelIndexIfExists, std::move(rel), ident, std::move(cond), std::move(queryPattern),
59-
std::move(nested), profileText) {}
58+
: IndexIfExists(NK_ParallelIndexIfExists, std::move(rel), ident, std::move(cond),
59+
std::move(queryPattern), std::move(nested), profileText) {}
6060

6161
ParallelIndexIfExists* cloning() const override {
6262
RamPattern resQueryPattern;

0 commit comments

Comments
 (0)