File: one-parameter-per-line-if-they-do-no-fit.cpp

package info (click to toggle)
bluebrain-hpc-coding-conventions 1.0.0%2Bgit20221201-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 624 kB
  • sloc: python: 2,021; cpp: 220; makefile: 29
file content (10 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
// One parameter per line if they don't all fit
// clang-format: AllowAllParametersOfDeclarationOnNextLine: false
// clang-format: BinPackParameters: False

HighFive::DataSet dump(HighFive::File& file,
                       const std::string& path,
                       const std::vector<T>& data,
                       HighFive::Mode mode = HighFive::Mode::Create);

void andALongFunctionName(the_long_parameter1, the_long_parameter2);