[PATCH] D126960: [clang][sema] Unary not boolean to int conversion

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 07:52:14 PDT 2022


aaron.ballman added inline comments.


================
Comment at: clang/lib/Sema/SemaChecking.cpp:12328
       return IntRange::forValueOfType(C, GetExprType(E));
 
+    case UO_Not:
----------------
erichkeane wrote:
> Richard mentions UO_PreInc, UO_PreDec, UO_Minus, and UO_Not.  What about the other 3?
`UO_Plus` also.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126960/new/

https://reviews.llvm.org/D126960



More information about the cfe-commits mailing list