diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-07-09 23:06:20 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-07-09 23:10:42 +0300 |
commit | 29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5 (patch) | |
tree | 030c86fadf640733a67bcff3dc50b397d1b0363a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | caa423eef0d128f35ac11ddbce34964caafb61c1 (diff) | |
download | llvm-29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5.zip llvm-29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5.tar.gz llvm-29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5.tar.bz2 |
[Docs] CodingStandards: for_each is discouraged
Summary:
As per disscussion in D83351, using `for_each` is potentially confusing,
at least in regards to inconsistent style (there's less than 100 `for_each`
usages in LLVM, but ~100.000 `for` range-based loops
Therefore, it should be avoided.
Reviewers: dblaikie, nickdesaulniers
Reviewed By: dblaikie, nickdesaulniers
Subscribers: hubert.reinterpretcast, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83431
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions