Make this code path unreachable.
If we cannot return an address we should assert and handle the diags.
This commit is contained in:
parent
88c3d07bb9
commit
8bfa1b52c6
@ -229,6 +229,7 @@ public:
|
||||
.getAddress())
|
||||
return *Addr;
|
||||
|
||||
llvm_unreachable("Handle the error case");
|
||||
return ~0U;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user