[PATCH] D128352: [clang][dataflow] Use diagnosis API in optional checker

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 28 13:38:05 PDT 2022


gribozavr2 accepted this revision.
gribozavr2 added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp:67
+            std::move(StmtDiagnostics.begin(), StmtDiagnostics.end(),
+                      std::back_inserter(Diagnostics));
+          });
----------------
Please use the range-based llvm;:move() from llvm-project/llvm/include/llvm/ADT/STLExtras.h.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128352



More information about the cfe-commits mailing list