diff options
| author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2013-07-19 14:19:31 +0000 |
|---|---|---|
| committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2013-07-19 14:19:31 +0000 |
| commit | b809dfcf3ab6664b755034ec27f3106bec69d6a9 (patch) | |
| tree | 3ca757eb1985afa25afd30b4860ba3d051224649 | |
| parent | 896f8db0bdc5e1ce9fb1007b9b39fba21f0a8c27 (diff) | |
| download | bcm5719-llvm-b809dfcf3ab6664b755034ec27f3106bec69d6a9.tar.gz bcm5719-llvm-b809dfcf3ab6664b755034ec27f3106bec69d6a9.zip | |
Fixed some formatting issues with clang-format to get a baseline.
llvm-svn: 186675
| -rw-r--r-- | clang-tools-extra/modularize/Modularize.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/clang-tools-extra/modularize/Modularize.cpp b/clang-tools-extra/modularize/Modularize.cpp index 7dca4d28ca5..d68e855c70b 100644 --- a/clang-tools-extra/modularize/Modularize.cpp +++ b/clang-tools-extra/modularize/Modularize.cpp @@ -96,14 +96,14 @@ using namespace clang; using namespace llvm; // Option to specify a file name for a list of header files to check. -cl::opt<std::string> ListFileName( - cl::Positional, - cl::desc("<name of file containing list of headers to check>")); +cl::opt<std::string> +ListFileName(cl::Positional, + cl::desc("<name of file containing list of headers to check>")); // Collect all other arguments, which will be passed to the front end. cl::list<std::string> - CC1Arguments(cl::ConsumeAfter, - cl::desc("<arguments to be passed to front end>...")); +CC1Arguments(cl::ConsumeAfter, + cl::desc("<arguments to be passed to front end>...")); // Option to specify a prefix to be prepended to the header names. cl::opt<std::string> HeaderPrefix( @@ -205,7 +205,6 @@ struct Location { friend bool operator>=(const Location &X, const Location &Y) { return !(X < Y); } - }; struct Entry { @@ -505,7 +504,7 @@ int main(int argc, const char **argv) { if (eCount <= 1) continue; LocationArray::iterator FI = DI->begin(); - StringRef kindName = Entry::getKindName((Entry::EntryKind) kindIndex); + StringRef kindName = Entry::getKindName((Entry::EntryKind)kindIndex); errs() << "error: " << kindName << " '" << E->first() << "' defined at multiple locations:\n"; for (LocationArray::iterator FE = DI->end(); FI != FE; ++FI) { |

