[PATCH] D41536: Provide public getter for OverlayFileSystem

Vladimir Plyashkun via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 21 23:12:10 PST 2017


vladimir.plyashkun created this revision.
vladimir.plyashkun added a reviewer: alexfh.
vladimir.plyashkun added projects: clang, clang-tools-extra.
Herald added subscribers: cfe-commits, klimek.

This is part of review - https://reviews.llvm.org/D41535


Repository:
  rC Clang

https://reviews.llvm.org/D41536

Files:
  include/clang/Tooling/Tooling.h


Index: include/clang/Tooling/Tooling.h
===================================================================
--- include/clang/Tooling/Tooling.h
+++ include/clang/Tooling/Tooling.h
@@ -339,6 +339,10 @@
 
   llvm::ArrayRef<std::string> getSourcePaths() const { return SourcePaths; }
 
+  vfs::OverlayFileSystem &getOverlayFileSystem() const {
+    return *OverlayFileSystem;
+  }
+
 private:
   const CompilationDatabase &Compilations;
   std::vector<std::string> SourcePaths;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41536.127987.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171222/01cd1a2c/attachment.bin>


More information about the cfe-commits mailing list