[all-commits] [llvm/llvm-project] 43ca99: Silence an illegal conversion warning in MSVC; NFC

Aaron Ballman via All-commits all-commits at lists.llvm.org
Mon Aug 28 05:09:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43ca99a2516f107847271652a9be2cc694f1e6e5
      https://github.com/llvm/llvm-project/commit/43ca99a2516f107847271652a9be2cc694f1e6e5
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

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

  Log Message:
  -----------
  Silence an illegal conversion warning in MSVC; NFC

The code previously required two levels of conversion, one from
SmallString to StringRef and one from StringRef to Regex. This made the
implicit conversion to StringRef be explicit instead.




More information about the All-commits mailing list