projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a4a5e
)
Add "generic" fallback.
author
Torok Edwin
<edwintorok@gmail.com>
Mon, 14 Dec 2009 12:38:18 +0000
(12:38 +0000)
committer
Torok Edwin
<edwintorok@gmail.com>
Mon, 14 Dec 2009 12:38:18 +0000
(12:38 +0000)
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
lib/System/Host.cpp
patch
|
blob
|
history
diff --git
a/lib/System/Host.cpp
b/lib/System/Host.cpp
index 3196a63b850cc32b59104a2a7e3b901f168ca7fe..79897e48bdaab5c11c4a4f531d9f1c42ff41cba4 100644
(file)
--- 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() {