Binpack function arguments together

Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead.

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
clang-formatandHielke Morsink authored and Hielke Morsink committed 2018-07-23 16:00:22 +02:00
1 parent 95ce592579
commit b02dfdbc93
240 files changed
+20249 -140534

No files matched your search

+1 -5
View File
@@ -63,11 +63,7 @@ private:
public:
explicit TrackDesignFileIndex(const IPlatformEnvironment& env)
: FileIndex(
"track design index",
MAGIC_NUMBER,
VERSION,
env.GetFilePath(PATHID::CACHE_TRACKS),
std::string(PATTERN),
"track design index", MAGIC_NUMBER, VERSION, env.GetFilePath(PATHID::CACHE_TRACKS), std::string(PATTERN),
std::vector<std::string>({
env.GetDirectoryPath(DIRBASE::RCT1, DIRID::TRACK),
env.GetDirectoryPath(DIRBASE::RCT2, DIRID::TRACK),