Created
August 22, 2017 21:33
-
-
Save stryku/a45f62468f6ce7a72ad4fbd067a79009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static bool formatRecusively() { | |
std::vector<std::string> files; | |
if (checkMultipleFilesPreconditions() || findMatchingFiles(files)) { | |
return false; | |
} | |
bool Error = false; | |
for (unsigned i = 0; i < files.size(); ++i) { | |
Error |= clang::format::format(files[i]); | |
} | |
return Error; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment