Closed
Description
There should be a penalty setting that prevents breaking the double-brackets around c++ attributes.
Using the attached clang-format
, the following code:
int PluginColumnModel::columnCount([[maybe_unused]] const QModelIndex& parent) const {}
is formated as
int PluginColumnModel::columnCount([
[maybe_unused]] const QModelIndex& parent) const {}