Skip to content

Instantly share code, notes, and snippets.

@sbchisholm
Created May 2, 2016 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbchisholm/36110f378326e72aa1bef3cdb9215f46 to your computer and use it in GitHub Desktop.
Save sbchisholm/36110f378326e72aa1bef3cdb9215f46 to your computer and use it in GitHub Desktop.
$ 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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment