Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
remysucre committed May 5, 2022
1 parent 2ecaaa2 commit ee88b21
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
28 changes: 14 additions & 14 deletions src/RelationTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ namespace souffle {

/** Space of user-chosen tags that a relation can have */
enum class RelationTag {
INPUT, // relation read from csv
OUTPUT, // relation written to csv
PRINTSIZE, // number of tuples written to stdout
OVERRIDABLE, // rules defined in component can be overwritten by sub-component
INLINE, // inlined
NO_INLINE, // never inline
MAGIC, // enable magic-set on this relation
NO_MAGIC, // never magic-set on this relation
SUPPRESSED, // warnings suppressed
BRIE, // use brie data-structure
BTREE, // use btree data-structure
INPUT, // relation read from csv
OUTPUT, // relation written to csv
PRINTSIZE, // number of tuples written to stdout
OVERRIDABLE, // rules defined in component can be overwritten by sub-component
INLINE, // inlined
NO_INLINE, // never inline
MAGIC, // enable magic-set on this relation
NO_MAGIC, // never magic-set on this relation
SUPPRESSED, // warnings suppressed
BRIE, // use brie data-structure
BTREE, // use btree data-structure
BTREE_MIN,
BTREE_MAX,
BTREE_SUM,
Expand All @@ -56,9 +56,9 @@ enum class RelationQualifier {

/** Space of internal representations that a relation can have */
enum class RelationRepresentation {
DEFAULT, // use default data-structure
BRIE, // use brie data-structure
BTREE, // use btree data-structure
DEFAULT, // use default data-structure
BRIE, // use brie data-structure
BTREE, // use btree data-structure
BTREE_MIN,
BTREE_MAX,
BTREE_SUM,
Expand Down
3 changes: 2 additions & 1 deletion src/synthesiser/Relation.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ class DirectRelation : public Relation {
public:
DirectRelation(const ram::Relation& ramRel, const ram::analysis::IndexCluster& indexSelection,
bool isProvenance, bool hasErase, bool isAggregate, std::string aggregateOp)
: Relation(ramRel, indexSelection), isProvenance(isProvenance), hasErase(hasErase), isAggregate(isAggregate), aggregateOp(aggregateOp) {}
: Relation(ramRel, indexSelection), isProvenance(isProvenance), hasErase(hasErase),
isAggregate(isAggregate), aggregateOp(aggregateOp) {}

void computeIndices() override;
std::string getTypeName() override;
Expand Down

0 comments on commit ee88b21

Please sign in to comment.