[clang] [clang][CodeGen] Fix shift-exponent ubsan check for signed _BitInt (PR #88004)

Björn Pettersson via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 09:08:36 PDT 2024


================
@@ -146,6 +146,15 @@ struct BinOpInfo {
       return UnOp->getSubExpr()->getType()->isFixedPointType();
     return false;
   }
+
+  /// Check if the RHS has a signed integer representation.
----------------
bjope wrote:

This is a Doxygen style comment (like the ones for other functions above). So there should be three '/'.

https://github.com/llvm/llvm-project/pull/88004


More information about the cfe-commits mailing list