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:
@@ -198,9 +198,7 @@ struct LockedNode {
|
||||
Vector<const OutputSocket *> delayed_required_outputs;
|
||||
Vector<const OutputSocket *> delayed_unused_outputs;
|
||||
|
||||
LockedNode(const Node &node, NodeState &node_state) : node(node), node_state(node_state)
|
||||
{
|
||||
}
|
||||
LockedNode(const Node &node, NodeState &node_state) : node(node), node_state(node_state) {}
|
||||
};
|
||||
|
||||
class Executor;
|
||||
|
||||
Reference in New Issue
Block a user