Commit a925ba71 authored by Roman Tolchenov's avatar Roman Tolchenov
Browse files

Re #19909. Fix clang format.

parent 689f533f
......@@ -219,8 +219,8 @@ protected:
/// Get status of parameter
ParameterStatus getParameterStatus(size_t i) const override;
/// Writes itself into a string
std::string
writeToString(const std::string &parentLocalAttributesStr = "") const override;
std::string writeToString(
const std::string &parentLocalAttributesStr = "") const override;
size_t paramOffset(size_t i) const { return m_paramOffsets[i]; }
......
......@@ -84,8 +84,8 @@ protected:
/// Add default constraints
void addDefaultConstraints(const std::string &constraints);
/// Writes itself into a string
std::string
writeToString(const std::string &parentLocalAttributesStr = "") const override;
std::string writeToString(
const std::string &parentLocalAttributesStr = "") const override;
private:
/// Keep paramater aliases
......
......@@ -51,8 +51,8 @@ void CompositeFunction::init() {}
* Can be passed in by a CompositeFunction (eg MultiDomainFunction).
* @return the string representation of the composite function
*/
std::string
CompositeFunction::writeToString(const std::string &parentLocalAttributesStr) const {
std::string CompositeFunction::writeToString(
const std::string &parentLocalAttributesStr) const {
std::ostringstream ostr;
// if empty just return function name
......
......@@ -399,9 +399,7 @@ std::string IFunction::writeConstraints() const {
* IFunction
* @return string representation of the function
*/
std::string IFunction::asString() const {
return writeToString();
}
std::string IFunction::asString() const { return writeToString(); }
/**
* Writes this function into a string.
......
......@@ -38,8 +38,8 @@ public:
void buildTargetFunction() const override;
protected:
std::string
writeToString(const std::string &parentLocalAttributesStr = "") const override;
std::string writeToString(
const std::string &parentLocalAttributesStr = "") const override;
void updateTargetFunction() const override;
private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment