[all-commits] [llvm/llvm-project] 96a79c: Fix a tautological comparison bug caught during po...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Sep 28 11:23:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96a79cb308d1b8c00a83b180d9fecc5d54bacb9c
https://github.com/llvm/llvm-project/commit/96a79cb308d1b8c00a83b180d9fecc5d54bacb9c
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-09-28 (Wed, 28 Sep 2022)
Changed paths:
M clang/lib/Analysis/CFG.cpp
M clang/test/Sema/warn-bitwise-compare.c
Log Message:
-----------
Fix a tautological comparison bug caught during post-commit
This amends fd874e5fb119e1d9f427a299ffa5bbabaeba9455 to correctly set
the bit width of a '!' operator to be the same width as an 'int'. This
fixes a failed assertion about unexpected bit widths that was reported
during post-commit testing.
More information about the All-commits
mailing list