[all-commits] [llvm/llvm-project] 79353f: [clang-tidy][NFC] Remove Tristate from CachedGlobList

Nathan James via All-commits all-commits at lists.llvm.org
Wed Feb 23 00:35:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79353f940cf441e69f32af0a78a48baee89e8517
      https://github.com/llvm/llvm-project/commit/79353f940cf441e69f32af0a78a48baee89e8517
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

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

  Log Message:
  -----------
  [clang-tidy][NFC] Remove Tristate from CachedGlobList

The tristate is a little redundant as we can determine if the item was already in the cache based on the return from try_emplace.

Reviewed By: salman-javed-nz

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




More information about the All-commits mailing list