reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   27 class ReadCountingInMemoryFileSystem : public vfs::InMemoryFileSystem

References

include/llvm/ADT/IntrusiveRefCntPtr.h
  125   static void retain(T *obj) { obj->Retain(); }
  126   static void release(T *obj) { obj->Release(); }
  136   T *Obj = nullptr;
  139   using element_type = T;
  142   IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
  147   IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) {
  152   IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) {
  163   T &operator*() const { return *Obj; }
  164   T *operator->() const { return Obj; }
  165   T *get() const { return Obj; }
  184       IntrusiveRefCntPtrInfo<T>::retain(Obj);
  189       IntrusiveRefCntPtrInfo<T>::release(Obj);
lib/Support/VirtualFileSystem.cpp
  807 lookupInMemoryNode(const InMemoryFileSystem &FS, detail::InMemoryDirectory *Dir,
tools/clang/include/clang/Tooling/Tooling.h
  381   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/lib/Basic/SourceManager.cpp
 2173   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
 2174       new llvm::vfs::InMemoryFileSystem);
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
   57   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS(
   58       new llvm::vfs::InMemoryFileSystem());
tools/clang/lib/Tooling/Core/Replacement.cpp
  584   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  585       new llvm::vfs::InMemoryFileSystem);
tools/clang/lib/Tooling/Tooling.cpp
  206   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  207       new llvm::vfs::InMemoryFileSystem);
  411       InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem),
  627   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  628       new llvm::vfs::InMemoryFileSystem);
tools/clang/tools/clang-format/ClangFormat.cpp
  167                                  llvm::vfs::InMemoryFileSystem *MemFS) {
  185   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  186       new llvm::vfs::InMemoryFileSystem);
  306   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  307       new llvm::vfs::InMemoryFileSystem);
  436     IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  437         new llvm::vfs::InMemoryFileSystem);
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   25                          llvm::vfs::InMemoryFileSystem &InMemoryFs) {
   58       InMemoryFs(new llvm::vfs::InMemoryFileSystem),
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.h
  120   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFs;
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   68   IndexActionTest() : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem) {}
  108   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp
  248       : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem),
  288   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   24   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS(
   25       new llvm::vfs::InMemoryFileSystem);
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp
   58   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS(
   59       new llvm::vfs::InMemoryFileSystem);
tools/clang/tools/extra/unittests/clang-include-fixer/IncludeFixerTest.cpp
   26   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   27       new llvm::vfs::InMemoryFileSystem);
tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp
   65     llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   66         new llvm::vfs::InMemoryFileSystem);
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  113   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  114       new llvm::vfs::InMemoryFileSystem);
tools/clang/unittests/AST/ASTImporterFixtures.cpp
   30   auto *MFS = static_cast<llvm::vfs::InMemoryFileSystem *>(
tools/clang/unittests/Basic/FileManagerTest.cpp
  317       new llvm::vfs::InMemoryFileSystem);
  343       new llvm::vfs::InMemoryFileSystem);
  376       new llvm::vfs::InMemoryFileSystem);
  409       new llvm::vfs::InMemoryFileSystem);
tools/clang/unittests/Driver/DistroTest.cpp
   27   llvm::vfs::InMemoryFileSystem UbuntuTrustyFileSystem;
   55   llvm::vfs::InMemoryFileSystem UbuntuYakketyFileSystem;
   87   llvm::vfs::InMemoryFileSystem Fedora25FileSystem;
  120   llvm::vfs::InMemoryFileSystem CentOS7FileSystem;
  159   llvm::vfs::InMemoryFileSystem OpenSUSELeap421FileSystem;
  185   llvm::vfs::InMemoryFileSystem OpenSUSE132FileSystem;
  211   llvm::vfs::InMemoryFileSystem SLES10FileSystem;
  230   llvm::vfs::InMemoryFileSystem DebianJessieFileSystem;
  251   llvm::vfs::InMemoryFileSystem DebianStretchSidFileSystem;
  272   llvm::vfs::InMemoryFileSystem ExherboFileSystem;
  294   llvm::vfs::InMemoryFileSystem ArchLinuxFileSystem;
  316   llvm::vfs::InMemoryFileSystem GentooFileSystem;
tools/clang/unittests/Driver/ToolChainTest.cpp
   35   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   36       new llvm::vfs::InMemoryFileSystem);
   89   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   90       new llvm::vfs::InMemoryFileSystem);
  129   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  130       new llvm::vfs::InMemoryFileSystem);
tools/clang/unittests/Format/FormatTest.cpp
14270   llvm::vfs::InMemoryFileSystem FS;
14277   llvm::vfs::InMemoryFileSystem FS;
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   27 class ReadCountingInMemoryFileSystem : public vfs::InMemoryFileSystem
tools/clang/unittests/Lex/HeaderSearchTest.cpp
   29       : VFS(new llvm::vfs::InMemoryFileSystem), FileMgr(FileMgrOpts, VFS),
   48   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
tools/clang/unittests/Lex/PPCallbacksTest.cpp
  119       : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem),
  128   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/unittests/Tooling/DependencyScannerTest.cpp
   83   auto VFS = new llvm::vfs::InMemoryFileSystem();
  130   auto VFS = new llvm::vfs::InMemoryFileSystem();
  169   auto VFS = new llvm::vfs::InMemoryFileSystem();
tools/clang/unittests/Tooling/RefactoringTest.cpp
 1035   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS(
 1036       new llvm::vfs::InMemoryFileSystem());
 1056   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS(
 1057       new llvm::vfs::InMemoryFileSystem());
 1077   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS(
 1078       new llvm::vfs::InMemoryFileSystem());
tools/clang/unittests/Tooling/RewriterTestContext.h
   41          InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem),
  116   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  239   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS =
  240       new llvm::vfs::InMemoryFileSystem;
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp
  114   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS =
  115       new llvm::vfs::InMemoryFileSystem;
tools/clang/unittests/Tooling/ToolingTest.cpp
  153   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  154       new llvm::vfs::InMemoryFileSystem);
  179   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  180       new llvm::vfs::InMemoryFileSystem);
  436   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  437       new llvm::vfs::InMemoryFileSystem);
unittests/Support/VirtualFileSystemTest.cpp
  900   IntrusiveRefCntPtr<vfs::InMemoryFileSystem> Base(
  901       new vfs::InMemoryFileSystem());
  938   llvm::vfs::InMemoryFileSystem FS;
  939   llvm::vfs::InMemoryFileSystem NormalizedFS;
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {