diff options
author | Richard Trieu <rtrieu@google.com> | 2019-09-21 04:18:54 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2019-09-21 04:18:54 +0000 |
commit | 4d764c760bc19a720a89edadb05d5c13fc5908b6 (patch) | |
tree | 9918204e52f8f56c94cea3cb750a6c8c86fbc63d /test/SemaCXX/friend-class-nodecl.cpp | |
parent | dbb59f794229857ec4acc86f12f3f9172ec253f6 (diff) | |
download | clang-4d764c760bc19a720a89edadb05d5c13fc5908b6.tar.gz |
Fix bad APInt compare.
APInt comparison require both to have the same bitwidth. Since only the value
is needed, use the compare function APInt::isSameValue instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/friend-class-nodecl.cpp')
0 files changed, 0 insertions, 0 deletions