[clang-tools-extra] r254756 - Backing out 254635 until I have a good workaround and test case.
John Thompson via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 4 11:44:03 PST 2015
Author: jtsoftware
Date: Fri Dec 4 13:44:03 2015
New Revision: 254756
URL: http://llvm.org/viewvc/llvm-project?rev=254756&view=rev
Log:
Backing out 254635 until I have a good workaround and test case.
Modified:
clang-tools-extra/trunk/modularize/ModularizeUtilities.cpp
Modified: clang-tools-extra/trunk/modularize/ModularizeUtilities.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/ModularizeUtilities.cpp?rev=254756&r1=254755&r2=254756&view=diff
==============================================================================
--- clang-tools-extra/trunk/modularize/ModularizeUtilities.cpp (original)
+++ clang-tools-extra/trunk/modularize/ModularizeUtilities.cpp Fri Dec 4 13:44:03 2015
@@ -468,7 +468,7 @@ std::string ModularizeUtilities::getCano
bool ModularizeUtilities::isHeader(StringRef FileName) {
StringRef Extension = llvm::sys::path::extension(FileName);
if (Extension.size() == 0)
- return true;
+ return false;
if (Extension.equals_lower(".h"))
return true;
if (Extension.equals_lower(".inc"))
More information about the cfe-commits
mailing list