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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user