Reformat the code, using:

find -type f |  # list all regular files
  grep -E '\.(h|cpp|mm)$' |  # filter for source files
  grep -v '/mt_' |  # filter out generated files
  grep -v '/vendor/' | # and vendored GL
  grep -v '/test/image_loader_test.cpp' |  # and this file (has giant literals arrays)
  xargs -n 1 -P $(nproc) clang-format -i  # reformat everything

Co-authored-by: numzero <numzer0@yandex.ru>
This commit is contained in:
Desour
2024-03-20 19:35:52 +01:00
committed by sfan5
parent 9814510b1b
commit f5c6d3e945
292 changed files with 37376 additions and 42421 deletions

View File

@ -12,13 +12,12 @@ namespace irr
{
namespace io
{
class IWriteFile;
class IWriteFile;
} // end namespace io
namespace video
{
class IImage;
class IImage;
//! Interface for writing software image data.
class IImageWriter : public IReferenceCounted
@ -27,7 +26,7 @@ public:
//! Check if this writer can write a file with the given extension
/** \param filename Name of the file to check.
\return True if file extension specifies a writable type. */
virtual bool isAWriteableFileExtension(const io::path& filename) const = 0;
virtual bool isAWriteableFileExtension(const io::path &filename) const = 0;
//! Write image to file
/** \param file File handle to write to.