[clang] [compiler-rt] [clang][UBSan] Add implicit conversion check for bitfields (PR #75481)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 13 15:51:44 PST 2024
================
@@ -1035,7 +1050,7 @@ EmitIntegerTruncationCheckHelper(Value *Src, QualType SrcType, Value *Dst,
}
llvm::Value *Check = nullptr;
- // 1. Extend the truncated value back to the same width as the Src.
+ // 1. Convert the Dst back to the same type as Src.
----------------
rjmccall wrote:
This is not an improvement in the comment.
https://github.com/llvm/llvm-project/pull/75481
More information about the cfe-commits
mailing list