[all-commits] [llvm/llvm-project] dbed9d: VersionPrinter - use const auto& iterator in for-r...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 9 03:01:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dbed9d5ce7f5ab870b3ff20a14ee6c366c803fdb
      https://github.com/llvm/llvm-project/commit/dbed9d5ce7f5ab870b3ff20a14ee6c366c803fdb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M llvm/lib/Support/CommandLine.cpp

  Log Message:
  -----------
  VersionPrinter - use const auto& iterator in for-range-loop.

Avoids unnecessary copies and silences clang tidy warning.




More information about the All-commits mailing list