[all-commits] [llvm/llvm-project] 218dcd: [Clang] Use std::move in GlobalModuleIndex::readIn...

Jun Zhang via All-commits all-commits at lists.llvm.org
Tue Apr 26 01:45:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 218dcdad8a0c0f3340a97dafa24456125fe9b4fb
      https://github.com/llvm/llvm-project/commit/218dcdad8a0c0f3340a97dafa24456125fe9b4fb
  Author: Jun Zhang <jun at junz.org>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M clang/lib/Serialization/GlobalModuleIndex.cpp

  Log Message:
  -----------
  [Clang] Use std::move in GlobalModuleIndex::readIndex. NFC

BitstreamCursors are heavy-weight objects that should not be passed by value.

Differential Revision: https://reviews.llvm.org/D123436




More information about the All-commits mailing list