HomePhabricator

Lift VFS from clang to llvm (NFC)

Description

Lift VFS from clang to llvm (NFC)

This patch moves the virtual file system form clang to llvm so it can be
used by more projects.

Concretely the patch:

  • Moves VirtualFileSystem.{h|cpp} from clang/Basic to llvm/Support.
  • Moves the corresponding unit test from clang to llvm.
  • Moves the vfs namespace from clang::vfs to llvm::vfs.
  • Formats the lines affected by this change, mostly this is the result of the added llvm namespace.

RFC on the mailing list:
http://lists.llvm.org/pipermail/llvm-dev/2018-October/126657.html

Differential revision: https://reviews.llvm.org/D52783

Details

Committed
JDevlieghereOct 10 2018, 6:27 AM
Differential Revision
D52783: Lift VFS from clang to llvm
Parents
rL344139: [llvm-exegesis] Fix function return generation so it doesn't return register 0
Branches
Unknown
Tags
Unknown