diff options
author | Alex Bradbury <asb@lowrisc.org> | 2017-08-31 12:34:20 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2017-08-31 12:34:20 +0000 |
commit | 23a86ea4b4399c651df88bcb7b18a4f7cb7b183f (patch) | |
tree | 2a942aa220c6daf5eff1710e2c613b0bfe59c580 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | cbc7ee45f985cfea154b97c6ca40a8ed31f7be70 (diff) | |
download | bcm5719-llvm-23a86ea4b4399c651df88bcb7b18a4f7cb7b183f.tar.gz bcm5719-llvm-23a86ea4b4399c651df88bcb7b18a4f7cb7b183f.zip |
[Docs] Update CodingStandards to recommend range-based for loops
The CodingStandards section on avoiding the re-evaluation of end() hasn't been
updated since range-based for loops were adopted in the LLVM codebase. This
patch adds a very brief section that documents how range-based for loops
should be used wherever possible. It also moves example code in
CodingStandards to use range-based for loops and auto when appropriate.
Differential Revision: https://reviews.llvm.org/D37264
llvm-svn: 312236
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions