aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-07-09 23:06:20 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-07-09 23:10:42 +0300
commit29a9dd5bfe50be9b6aecbe95c6670734e5ee29c5 (patch)
tree030c86fadf640733a67bcff3dc50b397d1b0363a /clang/lib/Frontend/CompilerInvocation.cpp
parentcaa423eef0d128f35ac11ddbce34964caafb61c1 (diff)
downloadllvm-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