[PATCH] D83431: [Docs] CodingStandards: for_each is discouraged
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 15:17:14 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: llvm/docs/CodingStandards.rst:1305
+Usage of ``std::for_each()``/``llvm::for_each()`` functions is discouraged.
+
----------------
Even if what's available in the context of the code is a pair of iterators and a callable (and using a range-based for loop would involve extra boilerplate)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83431/new/
https://reviews.llvm.org/D83431
More information about the llvm-commits
mailing list