aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System
diff options
context:
space:
mode:
authorEdwin Török <edwintorok@gmail.com>2009-12-14 12:38:18 +0000
committerEdwin Török <edwintorok@gmail.com>2009-12-14 12:38:18 +0000
commitc8da34e01191c9d3819aa1b52fdbc6fe1d544095 (patch)
tree0efa7b8b13bc883feaed5263cb715c3d07d79ec4 /lib/System
parent76d8399d2044c4af7ef6b723f2905e4ad6cbbbf3 (diff)
downloadexternal_llvm-c8da34e01191c9d3819aa1b52fdbc6fe1d544095.zip
external_llvm-c8da34e01191c9d3819aa1b52fdbc6fe1d544095.tar.gz
external_llvm-c8da34e01191c9d3819aa1b52fdbc6fe1d544095.tar.bz2
Add "generic" fallback.
gcc warned that the function may not have a return value, indeed for non-intel and non-amd X86 CPUs it is right (VIA, etc.). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Host.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Host.cpp b/lib/System/Host.cpp
index 3196a63..79897e4 100644
--- a/lib/System/Host.cpp
+++ b/lib/System/Host.cpp
@@ -292,6 +292,7 @@ std::string sys::getHostCPUName() {
return "generic";
}
}
+ return "generic";
}
#else
std::string sys::getHostCPUName() {