Make this code path unreachable.

If we cannot return an address we should assert and handle the diags.
This commit is contained in:
Vassil Vassilev 2017-10-18 17:25:20 +02:00 committed by sftnight
parent 88c3d07bb9
commit 8bfa1b52c6

View File

@ -229,6 +229,7 @@ public:
.getAddress())
return *Addr;
llvm_unreachable("Handle the error case");
return ~0U;
}