[all-commits] [llvm/llvm-project] 64bade: [clang-tidy][NFC] Reduce copies of Intrusive..File...

Nathan James via All-commits all-commits at lists.llvm.org
Thu Dec 17 06:09:37 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64badecd447f2358812a2e747b2683d34071f5a5
      https://github.com/llvm/llvm-project/commit/64badecd447f2358812a2e747b2683d34071f5a5
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidy.cpp
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Reduce copies of Intrusive..FileSystem

Swapped a few instances where a move is more optimal or the target doesn't need to hold a reference.




More information about the All-commits mailing list