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;
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;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits