1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Suppress false-positive GCC -Wreturn-type warning.

llvm-svn: 362582
This commit is contained in:
Michael Liao 2019-06-05 04:18:12 +00:00
parent 2b77823d46
commit a69c0b3cba

View File

@ -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.