mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Convert assert(0) to llvm_unreachable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -337,7 +337,7 @@ struct OptionValueBase : public GenericOptionValue {
|
||||
|
||||
bool hasValue() const { return false; }
|
||||
|
||||
const DataType &getValue() const { assert(false && "no default value"); }
|
||||
const DataType &getValue() const { llvm_unreachable("no default value"); }
|
||||
|
||||
// Some options may take their value from a different data type.
|
||||
template<class DT>
|
||||
|
Reference in New Issue
Block a user