Fix "not all control paths return a value" MSVC warning. NFCI.

llvm-svn: 368830
This commit is contained in:
Simon Pilgrim 2019-08-14 11:29:56 +00:00
parent 8bba4798c2
commit 3f40bdb558
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ private:
case Kind::SwitchCleanup:
return true;
}
llvm_unreachable("Unknown CoroCloner::Kind enum");
}
void createDeclaration();