<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - clang-format 3.6 vs 3.7"
   href="https://llvm.org/bugs/show_bug.cgi?id=27616">27616</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-format 3.6 vs 3.7
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Formatter
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sbchisholm@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.

$ 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>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>