<div dir="ltr"><pre style="line-height:normal;word-wrap:break-word;white-space:pre-wrap">Below is an example of a source file test.cpp formatted by both clang-format versions 3.6 and 3.7. I like the output from 3.6 far better than what I'm getting from 3.7. Wondering if it's a bug that it's formatted differently in 3.7 or if there is a configuration item that I'm missing to have it behave the same as 3.6.</pre><pre style="line-height:normal;word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="line-height:normal;word-wrap:break-word;white-space:pre-wrap">$ cat test.cpp
size_t tempYLTFileCount =
Helpers::getFiles(m_pvSimulatedUnsortedYLTFilePattern,
regex(".*~", regex::basic)).size() +
Helpers::getFiles(m_lvSimulatedUnsortedYLTFilePattern,
regex(".*~", regex::basic)).size();
$ clang-format-3.7 -style=google test.cpp
size_t tempYLTFileCount = Helpers::getFiles(m_pvSimulatedUnsortedYLTFilePattern,
regex(".*~", regex::basic))
.size() +
Helpers::getFiles(m_lvSimulatedUnsortedYLTFilePattern,
regex(".*~", regex::basic))
.size();
$ clang-format-3.6 -style=google test.cpp
size_t tempYLTFileCount = Helpers::getFiles(m_pvSimulatedUnsortedYLTFilePattern,
regex(".*~", regex::basic)).size() +
Helpers::getFiles(m_lvSimulatedUnsortedYLTFilePattern,
regex(".*~", regex::basic)).size();
</pre><div><br></div><div><br></div><div>Cheers, Steve</div></div>