Resolved compiler warnings with clang.
This commit is contained in:
parent
33e61beb4f
commit
9c9995380e
@ -24,8 +24,6 @@ class Logger
|
|||||||
explicit Logger();
|
explicit Logger();
|
||||||
explicit Logger(ColorStream &&outputStream);
|
explicit Logger(ColorStream &&outputStream);
|
||||||
explicit Logger(ColorStream &&outputStream, ColorStream &&errorStream);
|
explicit Logger(ColorStream &&outputStream, ColorStream &&errorStream);
|
||||||
Logger(Logger &&other);
|
|
||||||
Logger &operator=(Logger &&other);
|
|
||||||
|
|
||||||
ColorStream &outputStream();
|
ColorStream &outputStream();
|
||||||
ColorStream &errorStream();
|
ColorStream &errorStream();
|
||||||
|
@ -57,7 +57,7 @@ class QuantifiedCRTP: public Quantified
|
|||||||
ExpressionPointer simplified() override;
|
ExpressionPointer simplified() override;
|
||||||
ExpressionPointer decomposed(DerivedPredicates &derivedPredicates) override;
|
ExpressionPointer decomposed(DerivedPredicates &derivedPredicates) override;
|
||||||
|
|
||||||
void collectParameters(std::set<VariablePointer> ¶meters);
|
void collectParameters(std::set<VariablePointer> ¶meters) override;
|
||||||
|
|
||||||
void print(std::ostream &ostream) const override;
|
void print(std::ostream &ostream) const override;
|
||||||
};
|
};
|
||||||
|
@ -64,25 +64,6 @@ Logger::Logger(ColorStream &&outputStream, ColorStream &&errorStream)
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
Logger::Logger(Logger &&other)
|
|
||||||
: m_outputStream{std::move(other.m_outputStream)},
|
|
||||||
m_errorStream{std::move(other.m_errorStream)},
|
|
||||||
m_logPriority{other.m_logPriority},
|
|
||||||
m_abortPriority{other.m_abortPriority}
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
Logger &Logger::operator=(Logger &&other)
|
|
||||||
{
|
|
||||||
*this = std::move(other);
|
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
ColorStream &Logger::outputStream()
|
ColorStream &Logger::outputStream()
|
||||||
{
|
{
|
||||||
return m_outputStream;
|
return m_outputStream;
|
||||||
|
@ -63,7 +63,7 @@ ExpressionPointer Expression::simplified()
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
[[ noreturn ]] ExpressionPointer Expression::decomposed(expressions::DerivedPredicates &)
|
ExpressionPointer Expression::decomposed(expressions::DerivedPredicates &)
|
||||||
{
|
{
|
||||||
throw output::TranslatorException("expression cannot be decomposed (not normalized)");
|
throw output::TranslatorException("expression cannot be decomposed (not normalized)");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user