forked from OSchip/llvm-project
Fix "control reaches end of non-void function" compiling lld on gcc.
llvm-svn: 177424
This commit is contained in:
parent
638a9fa43e
commit
1fb8ce4002
|
@ -232,8 +232,9 @@ std::unique_ptr<Driver> Driver::create( Driver::Flavor flavor
|
||||||
case Flavor::ld64:
|
case Flavor::ld64:
|
||||||
case Flavor::link:
|
case Flavor::link:
|
||||||
case Flavor::invalid:
|
case Flavor::invalid:
|
||||||
llvm_unreachable("Unsupported flavor");
|
break;
|
||||||
}
|
}
|
||||||
|
llvm_unreachable("Unsupported flavor");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<llvm::opt::ArgList>
|
std::unique_ptr<llvm::opt::ArgList>
|
||||||
|
|
Loading…
Reference in New Issue