Clang-Format: Allow empty functions to be single-line

For example

```
OIIOOutputDriver::~OIIOOutputDriver()
{
}
```

becomes

```
OIIOOutputDriver::~OIIOOutputDriver() {}
```

Saves quite some vertical space, which is especially handy for
constructors.

Pull Request: blender/blender#105594
This commit is contained in:
2023-03-29 16:50:54 +02:00
committed by Sergey Sharybin
parent cc7634f2ea
commit d32d787f5f
517 changed files with 1114 additions and 3340 deletions

View File

@@ -42,9 +42,7 @@ class MultiFunction {
const Signature *signature_ref_ = nullptr;
public:
virtual ~MultiFunction()
{
}
virtual ~MultiFunction() {}
/**
* The result is the same as using #call directly but this method has some additional features.