[all-commits] [llvm/llvm-project] 7548ad: clang: normalise directory cache keys consistently...

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Feb 18 13:58:59 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7548ad01ab17a6892264032b19cf19be1d182bea
      https://github.com/llvm/llvm-project/commit/7548ad01ab17a6892264032b19cf19be1d182bea
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2026-02-18 (Wed, 18 Feb 2026)

  Changed paths:
    M clang/lib/Basic/FileManager.cpp

  Log Message:
  -----------
  clang: normalise directory cache keys consistently in `FileManager` (#181306)

Extract the directory path normalisation logic into a shared
`normalizeCacheKey` helper and apply it in `addAncestorsAsVirtualDirs`
in addition to `getDirectoryRef`. This ensures that cache lookups and
insertions use a consistent key at all call sites.

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list