[libcxx-commits] [PATCH] D139114: [Clang][Sema] Enabled implicit conversion warning for CompoundAssignment operator.

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 10 21:43:42 PST 2023


MaskRay added inline comments.


================
Comment at: clang/docs/ReleaseNotes.rst:354
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+- Clang now supports implicit conversion warnings (-Wsign-conversion,
+  Wshorten-64-to-32, etc) for compound assignment operators (like +=, >=, etc) 
----------------
Use double backquotes for `-Wsign-conversion`, `-Wshorten-64-to-32` (and missing a `-`), `+=` and `>=`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139114



More information about the libcxx-commits mailing list