[all-commits] [llvm/llvm-project] c97217: [VFS] Use original path when falling back to exter...

Keith Smiley via All-commits all-commits at lists.llvm.org
Sat Nov 13 10:06:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c972175649f4bb50d40d911659a04d5620ce6fe0
      https://github.com/llvm/llvm-project/commit/c972175649f4bb50d40d911659a04d5620ce6fe0
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2021-11-13 (Sat, 13 Nov 2021)

  Changed paths:
    A clang/test/VFS/relative-path-errors.c
    M llvm/include/llvm/Support/VirtualFileSystem.h
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  -----------
  [VFS] Use original path when falling back to external FS

This is a follow up to 0be9ca7c0f9a733f846bb6bc4e8e36d46b518162 to make
paths in the case of falling back to the external file system use the
original format, preserving relative paths, and allow the external
filesystem to canonicalize them if needed.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list