Skip to content

Commit

Permalink
remove CLASS_NAME, no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRawson committed Oct 31, 2023
1 parent d06e09b commit a440309
Show file tree
Hide file tree
Showing 188 changed files with 0 additions and 364 deletions.
1 change: 0 additions & 1 deletion Api/Helper_Internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ class FBHelperCore
: public DefaultHelperCore
{
public:
CLASS_NAME(FBHelperCore);
USE_ALLOCATOR(FBHelperCore);

FBHelperCore() : nextVar(0), refCtr(0), varFact(*this), _unaryPredicate(0)
Expand Down
1 change: 0 additions & 1 deletion Api/Problem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ typedef List<AnnotatedFormula> AFList;
class Problem::PData
{
public:
CLASS_NAME(Problem::PData);
USE_ALLOCATOR(Problem::PData);

PData() : _size(0), _forms(0), _refCnt(0)
Expand Down
1 change: 0 additions & 1 deletion Api/Problem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ class Problem
*/
struct PreprocessingOptions
{
CLASS_NAME(Problem::PreprocessingOptions);
USE_ALLOCATOR_ARRAY;

PreprocessingOptions();
Expand Down
1 change: 0 additions & 1 deletion DP/ShortConflictMetaDP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ using namespace SAT;

class ShortConflictMetaDP : public DecisionProcedure {
public:
CLASS_NAME(ShortConflictMetaDP);
USE_ALLOCATOR(ShortConflictMetaDP);

/**
Expand Down
1 change: 0 additions & 1 deletion DP/SimpleCongruenceClosure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ using namespace Kernel;
class SimpleCongruenceClosure : public DecisionProcedure
{
public:
CLASS_NAME(SimpleCongruenceClosure);
USE_ALLOCATOR(SimpleCongruenceClosure);

SimpleCongruenceClosure(Ordering* ord);
Expand Down
1 change: 0 additions & 1 deletion Debug/RuntimeStatistics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class RSObject
public:
virtual ~RSObject() {};

CLASS_NAME(RSObject);

virtual void print(std::ostream& out) = 0;

Expand Down
2 changes: 0 additions & 2 deletions Debug/TimeProfiling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ class TimeTrace


struct Node {
CLASS_NAME(Node)
USE_ALLOCATOR(Node)
const char* name;
Lib::Stack<std::unique_ptr<Node>> children;
Expand Down Expand Up @@ -196,7 +195,6 @@ class TimeTraceOrdering : public Kernel::Ordering
const char* _nameTerm;
Ord _ord;
public:
CLASS_NAME(TimeTraceOrdering);
USE_ALLOCATOR(TimeTraceOrdering);

TimeTraceOrdering(const char* nameLit, const char* nameTerm, Ord ord)
Expand Down
1 change: 0 additions & 1 deletion FMB/FiniteModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ using namespace Kernel;
*
*/
class FiniteModel {
CLASS_NAME(FiniteModel);
USE_ALLOCATOR(FiniteModel);

public:
Expand Down
4 changes: 0 additions & 4 deletions FMB/FiniteModelBuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ using namespace SAT;

class FiniteModelBuilder : public MainLoop {
public:
CLASS_NAME(FiniteModedlBuilder);
USE_ALLOCATOR(FiniteModelBuilder);

FiniteModelBuilder(Problem& prb, const Options& opt);
Expand Down Expand Up @@ -252,7 +251,6 @@ class FiniteModelBuilder : public MainLoop {

class HackyDSAE : public DSAEnumerator {
struct Constraint_Generator {
CLASS_NAME(FiniteModedlBuilder::HackyDSAE::Constraint_Generator);
USE_ALLOCATOR(FiniteModelBuilder::HackyDSAE::Constraint_Generator);

Constraint_Generator_Vals _vals;
Expand Down Expand Up @@ -289,7 +287,6 @@ class FiniteModelBuilder : public MainLoop {
bool checkConstriant(DArray<unsigned>& newSortSizes, Constraint_Generator_Vals& constraint);

public:
CLASS_NAME(FiniteModedlBuilder::HackyDSAE);
USE_ALLOCATOR(FiniteModelBuilder::HackyDSAE);

HackyDSAE(bool keepOldGenerators) : _maxWeightSoFar(0), _keepOldGenerators(keepOldGenerators) {}
Expand Down Expand Up @@ -318,7 +315,6 @@ class FiniteModelBuilder : public MainLoop {
void reportZ3OutOfMemory();
public:
// the following is not sufficient, since z3::solver and z3::context allocate internally
CLASS_NAME(FiniteModedlBuilder::SmtBasedDSAE);
USE_ALLOCATOR(FiniteModelBuilder::SmtBasedDSAE);

SmtBasedDSAE() : _smtSolver(_context) {}
Expand Down
1 change: 0 additions & 1 deletion FMB/FiniteModelMultiSorted.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ using namespace Kernel;
*
*/
class FiniteModelMultiSorted {
CLASS_NAME(FiniteModelMultiSorted);
USE_ALLOCATOR(FiniteModelMultiSorted);

DHMap<unsigned,unsigned> _sizes;
Expand Down
1 change: 0 additions & 1 deletion FMB/Monotonicity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ namespace FMB {

class Monotonicity{

CLASS_NAME(Monotonicity);
USE_ALLOCATOR(Monotonicity);

public:
Expand Down
2 changes: 0 additions & 2 deletions FMB/SortInference.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ using namespace Shell;
using namespace Lib;

struct SortedSignature{
CLASS_NAME(SortedSignature);
USE_ALLOCATOR(SortedSignature);

unsigned sorts;
Expand Down Expand Up @@ -78,7 +77,6 @@ struct SortedSignature{

class SortInference {
public:
CLASS_NAME(SortInference);
USE_ALLOCATOR(SortInference);

SortInference(ClauseList* clauses,
Expand Down
2 changes: 0 additions & 2 deletions Indexing/AcyclicityIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ namespace Indexing
subterms(subterms)
{}

CLASS_NAME(AcyclicityIndex::IndexEntry);
USE_ALLOCATOR(AcyclicityIndex::IndexEntry);

Literal* lit;
Expand Down Expand Up @@ -174,7 +173,6 @@ namespace Indexing
return new CycleSearchTreeNode(t, l, c, n, n ? n->depth : 0, substIndex, true);
}

CLASS_NAME(AcyclicityIndex::CycleSearchTreeNode);
USE_ALLOCATOR(AcyclicityIndex::CycleSearchTreeNode);

TermList term;
Expand Down
2 changes: 0 additions & 2 deletions Indexing/AcyclicityIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ struct CycleQueryResult {
clausesTheta(c)
{}

CLASS_NAME(CycleQueryResult);
USE_ALLOCATOR(CycleQueryResult);

unsigned totalLengthClauses();
Expand Down Expand Up @@ -68,7 +67,6 @@ class AcyclicityIndex

CycleQueryResultsIterator queryCycles(Kernel::Literal *lit, Kernel::Clause *c);

CLASS_NAME(AcyclicityIndex);
USE_ALLOCATOR(AcyclicityIndex);
protected:
void handleClause(Kernel::Clause* c, bool adding);
Expand Down
3 changes: 0 additions & 3 deletions Indexing/ClauseCodeTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ class ClauseCodeTree : public CodeTree
void init(CodeOp* entry_, LitInfo* linfos_, size_t linfoCnt_,
ClauseCodeTree* tree_, Stack<CodeOp*>* firstsInBlocks_);

CLASS_NAME(ClauseCodeTree::RemovingLiteralMatcher);
USE_ALLOCATOR(RemovingLiteralMatcher);
};

Expand All @@ -83,7 +82,6 @@ class ClauseCodeTree : public CodeTree

inline ILStruct* getILS() { ASS(matched()); return op->getILS(); }

CLASS_NAME(ClauseCodeTree::LiteralMatcher);
USE_ALLOCATOR(LiteralMatcher);

private:
Expand All @@ -105,7 +103,6 @@ class ClauseCodeTree : public CodeTree
bool matched() { return lms.isNonEmpty() && lms.top()->success(); }
CodeOp* getSuccessOp() { ASS(matched()); return lms.top()->op; }

CLASS_NAME(ClauseCodeTree::ClauseMatcher);
USE_ALLOCATOR(ClauseMatcher);

private:
Expand Down
2 changes: 0 additions & 2 deletions Indexing/ClauseVariantIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class ClauseVariantIndex
class SubstitutionTreeClauseVariantIndex : public ClauseVariantIndex
{
public:
CLASS_NAME(SubstitutionTreeClauseVariantIndex);
USE_ALLOCATOR(SubstitutionTreeClauseVariantIndex);

SubstitutionTreeClauseVariantIndex() : _emptyClauses(0) {}
Expand All @@ -77,7 +76,6 @@ class SubstitutionTreeClauseVariantIndex : public ClauseVariantIndex
class HashingClauseVariantIndex : public ClauseVariantIndex
{
public:
CLASS_NAME(HashingClauseVariantIndex);
USE_ALLOCATOR(HashingClauseVariantIndex);

virtual ~HashingClauseVariantIndex() override;
Expand Down
3 changes: 0 additions & 3 deletions Indexing/CodeTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class CodeTree

void ensureFreshness(unsigned globalTimestamp);

CLASS_NAME(CodeTree::ILStruct);
USE_ALLOCATOR(ILStruct);

struct GVArrComparator;
Expand Down Expand Up @@ -293,7 +292,6 @@ class CodeTree
~FnSearchStruct();
CodeOp*& targetOp(unsigned fn);

CLASS_NAME(CodeTree::FnSearchStruct);
USE_ALLOCATOR(FnSearchStruct);

struct OpComparator;
Expand All @@ -308,7 +306,6 @@ class CodeTree
~GroundTermSearchStruct();
CodeOp*& targetOp(const Term* trm);

CLASS_NAME(CodeTree::GroundTermSearchStruct);
USE_ALLOCATOR(GroundTermSearchStruct);

struct OpComparator;
Expand Down
3 changes: 0 additions & 3 deletions Indexing/CodeTreeInterfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class CodeTreeSubstitution
}
}

CLASS_NAME(CodeTreeSubstitution);
USE_ALLOCATOR(CodeTreeSubstitution);

TermList applyToBoundResult(TermList t) override
Expand Down Expand Up @@ -79,7 +78,6 @@ class CodeTreeSubstitution
return res;
}

CLASS_NAME(CodeTreeSubstitution::Applicator);
USE_ALLOCATOR(Applicator);
private:
CodeTree::BindingArray* _bindings;
Expand Down Expand Up @@ -127,7 +125,6 @@ class CodeTreeTIS::ResultIterator
}
}

CLASS_NAME(CodeTreeTIS::ResultIterator);
USE_ALLOCATOR(ResultIterator);

bool hasNext()
Expand Down
2 changes: 0 additions & 2 deletions Indexing/CodeTreeInterfaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ using namespace Lib;
class CodeTreeTIS : public TermIndexingStructure
{
public:
CLASS_NAME(CodeTreeTIS);
USE_ALLOCATOR(CodeTreeTIS);

void insert(TypedTermList t, Literal* lit, Clause* cls);
Expand Down Expand Up @@ -79,7 +78,6 @@ class CodeTreeSubsumptionIndex
: public ClauseSubsumptionIndex
{
public:
CLASS_NAME(CodeTreeSubsumptionIndex);
USE_ALLOCATOR(CodeTreeSubsumptionIndex);

ClauseSResResultIterator getSubsumingOrSResolvingClauses(Clause* c, bool subsumptionResolution);
Expand Down
1 change: 0 additions & 1 deletion Indexing/GroundingIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ using namespace Shell;

class GroundingIndex : public Index {
public:
CLASS_NAME(GroundingIndex);
USE_ALLOCATOR(GroundingIndex);

GroundingIndex(const Options& opt);
Expand Down
2 changes: 0 additions & 2 deletions Indexing/Index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ typedef VirtualIterator<FormulaQueryResult> FormulaQueryResultIterator;
class Index
{
public:
CLASS_NAME(Index);
USE_ALLOCATOR(Index);

virtual ~Index();
Expand Down Expand Up @@ -158,7 +157,6 @@ class ClauseSubsumptionIndex
: public Index
{
public:
CLASS_NAME(ClauseSubsumptionIndex);
USE_ALLOCATOR(ClauseSubsumptionIndex);

virtual ClauseSResResultIterator getSubsumingOrSResolvingClauses(Clause* c,
Expand Down
1 change: 0 additions & 1 deletion Indexing/IndexManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ enum IndexType {
class IndexManager
{
public:
CLASS_NAME(IndexManager);
USE_ALLOCATOR(IndexManager);

/** alg can be zero, then it must be set by setSaturationAlgorithm */
Expand Down
12 changes: 0 additions & 12 deletions Indexing/LiteralIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class LiteralIndex
: public Index
{
public:
CLASS_NAME(LiteralIndex);
USE_ALLOCATOR(LiteralIndex);

virtual ~LiteralIndex();
Expand Down Expand Up @@ -61,7 +60,6 @@ class BinaryResolutionIndex
: public LiteralIndex
{
public:
CLASS_NAME(BinaryResolutionIndex);
USE_ALLOCATOR(BinaryResolutionIndex);

BinaryResolutionIndex(LiteralIndexingStructure* is)
Expand All @@ -74,7 +72,6 @@ class BackwardSubsumptionIndex
: public LiteralIndex
{
public:
CLASS_NAME(BackwardSubsumptionIndex);
USE_ALLOCATOR(BackwardSubsumptionIndex);

BackwardSubsumptionIndex(LiteralIndexingStructure* is)
Expand All @@ -87,7 +84,6 @@ class FwSubsSimplifyingLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(FwSubsSimplifyingLiteralIndex);
USE_ALLOCATOR(FwSubsSimplifyingLiteralIndex);

FwSubsSimplifyingLiteralIndex(LiteralIndexingStructure* is)
Expand All @@ -102,7 +98,6 @@ class FSDLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(FSDLiteralIndex);
USE_ALLOCATOR(FSDLiteralIndex);

FSDLiteralIndex(LiteralIndexingStructure* is)
Expand All @@ -117,7 +112,6 @@ class UnitClauseLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(UnitClauseLiteralIndex);
USE_ALLOCATOR(UnitClauseLiteralIndex);

UnitClauseLiteralIndex(LiteralIndexingStructure* is)
Expand All @@ -130,7 +124,6 @@ class UnitClauseWithALLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(UnitClauseWithALLiteralIndex);
USE_ALLOCATOR(UnitClauseWithALLiteralIndex);

UnitClauseWithALLiteralIndex(LiteralIndexingStructure* is)
Expand All @@ -143,7 +136,6 @@ class NonUnitClauseLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(NonUnitClauseLiteralIndex);
USE_ALLOCATOR(NonUnitClauseLiteralIndex);

NonUnitClauseLiteralIndex(LiteralIndexingStructure* is, bool selectedOnly=false)
Expand All @@ -158,7 +150,6 @@ class NonUnitClauseWithALLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(NonUnitClauseWithALLiteralIndex);
USE_ALLOCATOR(NonUnitClauseWithALLiteralIndex);

NonUnitClauseWithALLiteralIndex(LiteralIndexingStructure* is, bool selectedOnly=false)
Expand All @@ -173,7 +164,6 @@ class RewriteRuleIndex
: public LiteralIndex
{
public:
CLASS_NAME(RewriteRuleIndex);
USE_ALLOCATOR(RewriteRuleIndex);

RewriteRuleIndex(LiteralIndexingStructure* is, Ordering& ordering);
Expand All @@ -198,7 +188,6 @@ class DismatchingLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(DismatchingLiteralIndex);
USE_ALLOCATOR(DismatchingLiteralIndex);

DismatchingLiteralIndex(LiteralIndexingStructure* is)
Expand All @@ -211,7 +200,6 @@ class UnitIntegerComparisonLiteralIndex
: public LiteralIndex
{
public:
CLASS_NAME(UnitIntegerComparisonLiteralIndex);
USE_ALLOCATOR(UnitIntegerComparisonLiteralIndex);

UnitIntegerComparisonLiteralIndex(LiteralIndexingStructure* is)
Expand Down
Loading

0 comments on commit a440309

Please sign in to comment.