diff options
author | David Tenty <daltenty@ibm.com> | 2020-06-26 14:49:24 -0400 |
---|---|---|
committer | David Tenty <daltenty@ibm.com> | 2020-06-26 14:55:55 -0400 |
commit | 16dae81edc240b7c9f58e4b5ec0cf8d5ba0d847d (patch) | |
tree | edd7a25d8f5c7f9ebe841f7ee83e89b4f9c26c2b /clang/lib/Basic/SourceManager.cpp | |
parent | b537c81b5fde154062ecf7521d41902b130dffe6 (diff) | |
download | llvm-16dae81edc240b7c9f58e4b5ec0cf8d5ba0d847d.zip llvm-16dae81edc240b7c9f58e4b5ec0cf8d5ba0d847d.tar.gz llvm-16dae81edc240b7c9f58e4b5ec0cf8d5ba0d847d.tar.bz2 |
[NFCI] Cleanup range checks in Register/MCRegister
Summary:
by removing casts from unsigned to int that which may be implementation
defined according to C++14 (and thus trip up the XL compiler on AIX) by
just using unsigned comparisons/masks and refactor out the range
constants to cleanup things a bit while we are at it.
Reviewers: hubert.reinterpretcast, arsenm
Reviewed By: hubert.reinterpretcast
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D82197
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions