[clang-tools-extra] r247541 - Prune CRLF.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 14 04:13:39 PDT 2015
Author: chapuni
Date: Mon Sep 14 06:13:39 2015
New Revision: 247541
URL: http://llvm.org/viewvc/llvm-project?rev=247541&view=rev
Log:
Prune CRLF.
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=247541&r1=247540&r2=247541&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/Modularize.cpp (original)
+++ clang-tools-extra/trunk/modularize/Modularize.cpp Mon Sep 14 06:13:39 2015
@@ -371,10 +371,10 @@ getModularizeArgumentsAdjuster(Dependenc
// Ignore warnings. (Insert after "clang_tool" at beginning.)
NewArgs.insert(NewArgs.begin() + 1, "-w");
// Since we are compiling .h files, assume C++ unless given a -x option.
- if (std::find(NewArgs.begin(), NewArgs.end(), "-x") == NewArgs.end()) {
+ if (std::find(NewArgs.begin(), NewArgs.end(), "-x") == NewArgs.end()) {
NewArgs.insert(NewArgs.begin() + 2, "-x");
NewArgs.insert(NewArgs.begin() + 3, "c++");
- }
+ }
return NewArgs;
};
}
More information about the cfe-commits
mailing list