Created attachment 18757 [details] clang-format configuration file If a long class name leads to a line break within the declaration of a deleted copy assignment operator the “=” sign of "operator=" is aligned with the “=” of the “= delete”. The following section shows the formatted output: ExampleFile.hxx class SomeClassWithARatherLongNameWhichBreaksTheColumnLimit { public: SomeClassWithARatherLongNameWhichBreaksTheColumnLimit(); virtual ~SomeClassWithARatherLongNameWhichBreaksTheColumnLimit(); private: SomeClassWithARatherLongNameWhichBreaksTheColumnLimit( const SomeClassWithARatherLongNameWhichBreaksTheColumnLimit& other) = delete; SomeClassWithARatherLongNameWhichBreaksTheColumnLimit& operator =( const SomeClassWithARatherLongNameWhichBreaksTheColumnLimit& other) = delete; }; Attached you find the clang-format configuration file we used for formatting.
Created attachment 18758 [details] Example output file