[all-commits] [llvm/llvm-project] 08c83e: [clang-tidy][NFC] Remove the double look-up on Inc...

Nathan James via All-commits all-commits at lists.llvm.org
Wed Jun 17 11:48:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 08c83ed75752169bdf27df8f5ea5978c53f2e258
      https://github.com/llvm/llvm-project/commit/08c83ed75752169bdf27df8f5ea5978c53f2e258
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp
    M clang-tools-extra/clang-tidy/utils/IncludeInserter.h

  Log Message:
  -----------
  [clang-tidy][NFC] Remove the double look-up on IncludeInserter

Refactor out the double lookup in `IncludeInserter` when trying to get the `IncludeSorter` for a specified `FileID`.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list