[all-commits] [llvm/llvm-project] b69e0f: DomTreeUpdater::dump() - use const auto& iterator ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jul 10 04:48:31 PDT 2020


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

  Changed paths:
    M llvm/lib/Analysis/DomTreeUpdater.cpp

  Log Message:
  -----------
  DomTreeUpdater::dump() - use const auto& iterator in for-range-loop.

Avoids unnecessary copies and silences clang tidy warning.




More information about the All-commits mailing list