[clang-tools-extra] r186675 - Fixed some formatting issues with clang-format to get a baseline.
John Thompson
John.Thompson.JTSoftware at gmail.com
Fri Jul 19 07:19:31 PDT 2013
Author: jtsoftware
Date: Fri Jul 19 09:19:31 2013
New Revision: 186675
URL: http://llvm.org/viewvc/llvm-project?rev=186675&view=rev
Log:
Fixed some formatting issues with clang-format to get a baseline.
Modified:
clang-tools-extra/trunk/modularize/Modularize.cpp
Modified: clang-tools-extra/trunk/modularize/Modularize.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/Modularize.cpp?rev=186675&r1=186674&r2=186675&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/Modularize.cpp (original)
+++ clang-tools-extra/trunk/modularize/Modularize.cpp Fri Jul 19 09:19:31 2013
@@ -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) {
More information about the cfe-commits
mailing list