diff options
| author | bluthej <joffrey.bluthe@e.email> | 2023-03-26 18:25:15 +0200 |
|---|---|---|
| committer | bluthej <joffrey.bluthe@e.email> | 2023-03-26 19:12:36 +0200 |
| commit | 2493be2196f6ba16eaea25915c25d93f1c2664b5 (patch) | |
| tree | 6951d406c4bb779d1c4d706dd32e4557b99c7c8b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | ee0de538d4196596986328311bb097a07f473273 (diff) | |
| download | rust-2493be2196f6ba16eaea25915c25d93f1c2664b5.tar.gz rust-2493be2196f6ba16eaea25915c25d93f1c2664b5.zip | |
Improve `is_range_full` implementation
Make this function work with signed integer types by extracting the underlying type and finding the min and max values. Change the signature to make it more consistent: - The range is now given as an `Expr` in order to extract the type - The container's path is now passed, and only as an `Option` so that the function can be called in the general case without a container
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
