-
tfarina authored
range-based loops is one of the C++11 allowed features. See https://chromium-cpp.appspot.com/ and https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/hpzz4EqbVmc. This patch was generated with the following command lines: $ ninja -C out/Debug -t compdb cxx > out/Debug/compile_commands.json $ cd out/Debug $ find ../../tools/gn -name '*.cc' | xargs -n 16 -P 32 \ ~/src/repos/llvm/build/bin/clang-modernize -loop-convert -p . -include \ tools/gn -format -style=Chromium $ ninja gn gn_unittests $ ./gn_unittests BUG=None TEST=gn && gn_unittests R=brettw@chromium.org Review URL: https://codereview.chromium.org/986113002 Cr-Commit-Position: refs/heads/master@{#322177}
b9cf968c