projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0eb8a9
)
Suppress false-positive GCC -Wreturn-type warning.
author
Michael Liao
<michael.hliao@gmail.com>
Wed, 5 Jun 2019 04:18:12 +0000
(
04:18
+0000)
committer
Michael Liao
<michael.hliao@gmail.com>
Wed, 5 Jun 2019 04:18:12 +0000
(
04:18
+0000)
llvm-svn: 362582
llvm/lib/Transforms/IPO/Attributor.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/Attributor.cpp
b/llvm/lib/Transforms/IPO/Attributor.cpp
index 56c32235fd3849b872208ab507c0be2423d3caf4..d82667be933b51d60f73b692d834dea96cc91fbb 100644
(file)
--- a/
llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/
llvm/lib/Transforms/IPO/Attributor.cpp
@@
-104,6
+104,7
@@
static unsigned getAttrIndex(AbstractAttribute::ManifestPosition MP,
case AbstractAttribute::MP_RETURNED:
return AttributeList::ReturnIndex;
}
+ llvm_unreachable("Unknown manifest position!");
}
/// Return true if \p New is equal or worse than \p Old.