r174348 - Spaces instead of tabs.
Eric Christopher
echristo at gmail.com
Mon Feb 4 23:29:49 PST 2013
Author: echristo
Date: Tue Feb 5 01:29:49 2013
New Revision: 174348
URL: http://llvm.org/viewvc/llvm-project?rev=174348&view=rev
Log:
Spaces instead of tabs.
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=174348&r1=174347&r2=174348&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Tue Feb 5 01:29:49 2013
@@ -1153,7 +1153,7 @@ Generic_GCC::GCCInstallationDetector::GC
switch (TargetTriple.getArch()) {
case llvm::Triple::aarch64:
- LibDirs.append(AArch64LibDirs, AArch64LibDirs
+ LibDirs.append(AArch64LibDirs, AArch64LibDirs
+ llvm::array_lengthof(AArch64LibDirs));
TripleAliases.append(
AArch64Triples, AArch64Triples + llvm::array_lengthof(AArch64Triples));
@@ -2157,11 +2157,11 @@ static LinuxDistro DetectLinuxDistro(llv
Data.find("release 6") != StringRef::npos)
return RHEL6;
else if ((Data.startswith("Red Hat Enterprise Linux") ||
- Data.startswith("CentOS")) &&
+ Data.startswith("CentOS")) &&
Data.find("release 5") != StringRef::npos)
return RHEL5;
else if ((Data.startswith("Red Hat Enterprise Linux") ||
- Data.startswith("CentOS")) &&
+ Data.startswith("CentOS")) &&
Data.find("release 4") != StringRef::npos)
return RHEL4;
return UnknownDistro;
More information about the cfe-commits
mailing list