[PATCH] D127114: new clang-tidy checker for assignments within condition clause of if statement

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 5 09:30:56 PDT 2022


gribozavr2 added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone-assignment-in-if-condition.cpp:84
+
+// Add something that doesn't trigger the check here.
+void awesome_f2(int arg) {
----------------



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

https://reviews.llvm.org/D127114



More information about the cfe-commits mailing list