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

Declarations

include/llvm/ADT/IntrusiveRefCntPtr.h
  192   template <typename X> friend class IntrusiveRefCntPtr;
tools/clang/include/clang/Basic/LLVM.h
   44   template <typename T> class IntrusiveRefCntPtr;

References

include/llvm/ADT/IntrusiveRefCntPtr.h
  143   IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); }
  144   IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; }
  147   IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) {
  152   IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) {
  158   IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) {
  158   IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) {
  168   void swap(IntrusiveRefCntPtr &other) {
  196 inline bool operator==(const IntrusiveRefCntPtr<T> &A,
  197                        const IntrusiveRefCntPtr<U> &B) {
  202 inline bool operator!=(const IntrusiveRefCntPtr<T> &A,
  203                        const IntrusiveRefCntPtr<U> &B) {
  208 inline bool operator==(const IntrusiveRefCntPtr<T> &A, U *B) {
  213 inline bool operator!=(const IntrusiveRefCntPtr<T> &A, U *B) {
  218 inline bool operator==(T *A, const IntrusiveRefCntPtr<U> &B) {
  223 inline bool operator!=(T *A, const IntrusiveRefCntPtr<U> &B) {
  228 bool operator==(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) {
  233 bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
  238 bool operator!=(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) {
  243 bool operator!=(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
  251 template <class T> struct simplify_type<IntrusiveRefCntPtr<T>> {
  254   static SimpleType getSimplifiedValue(IntrusiveRefCntPtr<T> &Val) {
  259 template <class T> struct simplify_type<const IntrusiveRefCntPtr<T>> {
  262   static SimpleType getSimplifiedValue(const IntrusiveRefCntPtr<T> &Val) {
include/llvm/Support/FileCollector.h
   42   static IntrusiveRefCntPtr<vfs::FileSystem>
   43   createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
include/llvm/Support/VirtualFileSystem.h
  303 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
  322   using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
  329   OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
  332   void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
  371   explicit ProxyFileSystem(IntrusiveRefCntPtr<FileSystem> FS)
  402   IntrusiveRefCntPtr<FileSystem> FS;
  501 IntrusiveRefCntPtr<FileSystem>
  505                IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
  664   IntrusiveRefCntPtr<FileSystem> ExternalFS;
  702   RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> ExternalFS);
  722          void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS);
  757     IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
lib/Support/FileCollector.cpp
  195   explicit FileCollectorFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS,
  258   IntrusiveRefCntPtr<vfs::FileSystem> FS;
  264 IntrusiveRefCntPtr<vfs::FileSystem>
  265 FileCollector::createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
lib/Support/VirtualFileSystem.cpp
  346 IntrusiveRefCntPtr<FileSystem> vfs::getRealFileSystem() {
  347   static IntrusiveRefCntPtr<FileSystem> FS(new RealFileSystem(true));
  389 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) {
  393 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) {
  992 RedirectingFileSystem::RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> FS)
 1585                               IntrusiveRefCntPtr<FileSystem> ExternalFS) {
 1815 IntrusiveRefCntPtr<FileSystem>
 1819                     IntrusiveRefCntPtr<FileSystem> ExternalFS) {
 1855                              IntrusiveRefCntPtr<FileSystem> ExternalFS) {
tools/clang/examples/clang-interpreter/main.cpp
  123   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  127   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
tools/clang/include/clang/AST/ASTContext.h
  583   IntrusiveRefCntPtr<ExternalASTSource> ExternalSource;
 1081   void setExternalSource(IntrusiveRefCntPtr<ExternalASTSource> Source);
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  459                  IntrusiveRefCntPtr<DynMatcherInterface> Implementation)
  471   IntrusiveRefCntPtr<DynMatcherInterface> Implementation;
tools/clang/include/clang/Basic/Diagnostic.h
  240   IntrusiveRefCntPtr<DiagnosticIDs> Diags;
  241   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  484   explicit DiagnosticsEngine(IntrusiveRefCntPtr<DiagnosticIDs> Diags,
  485                              IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts,
  495   const IntrusiveRefCntPtr<DiagnosticIDs> &getDiagnosticIDs() const {
tools/clang/include/clang/Basic/FileManager.h
  172   IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
  255               IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
  357   void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) {
tools/clang/include/clang/Driver/Driver.h
   62   IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS;
  293          IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
tools/clang/include/clang/Frontend/ASTUnit.h
  110   IntrusiveRefCntPtr<DiagnosticsEngine>   Diagnostics;
  111   IntrusiveRefCntPtr<FileManager>         FileMgr;
  112   IntrusiveRefCntPtr<SourceManager>       SourceMgr;
  113   IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
  115   IntrusiveRefCntPtr<TargetInfo>          Target;
  117   IntrusiveRefCntPtr<ASTContext>          Ctx;
  121   IntrusiveRefCntPtr<ASTReader> Reader;
  255   static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
  372              IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
  377       IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
  481   IntrusiveRefCntPtr<ASTReader> getASTReader() const;
  667          IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
  693       WhatToLoad ToLoad, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
  718       IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
  752       IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
  780       IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr,
  821       IntrusiveRefCntPtr<DiagnosticsEngine> Diags, StringRef ResourceFilesPath,
  838       IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
  853                IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
tools/clang/include/clang/Frontend/CompilerInstance.h
   77   IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
   80   IntrusiveRefCntPtr<TargetInfo> Target;
   83   IntrusiveRefCntPtr<TargetInfo> AuxTarget;
   86   IntrusiveRefCntPtr<FileManager> FileMgr;
   89   IntrusiveRefCntPtr<SourceManager> SourceMgr;
   92   IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
   98   IntrusiveRefCntPtr<ASTContext> Context;
  101   IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
  119   IntrusiveRefCntPtr<ASTReader> ModuleManager;
  521   IntrusiveRefCntPtr<ASTReader> getModuleManager() const;
  522   void setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader);
  639   static IntrusiveRefCntPtr<DiagnosticsEngine>
  649   createFileManager(IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
  673   static IntrusiveRefCntPtr<ASTReader> createPCHExternalASTSource(
  815   void setExternalSemaSource(IntrusiveRefCntPtr<ExternalSemaSource> ESS);
tools/clang/include/clang/Frontend/CompilerInvocation.h
   74   IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
  227 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
  231 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
  233     IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
tools/clang/include/clang/Frontend/DiagnosticRenderer.h
   50   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
tools/clang/include/clang/Frontend/LogDiagnosticPrinter.h
   54   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
tools/clang/include/clang/Frontend/PrecompiledPreamble.h
   82         IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
  112                            IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  119                         IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  235                          IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  244                        IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
tools/clang/include/clang/Frontend/TextDiagnosticPrinter.h
   29   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
tools/clang/include/clang/Frontend/Utils.h
  209 IntrusiveRefCntPtr<ExternalSemaSource>
  211                             IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
  224     IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
  226     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr,
tools/clang/include/clang/Rewrite/Core/RewriteRope.h
   59     llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
   64     RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start,
  171   llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
tools/clang/include/clang/Serialization/ASTReader.h
  164   ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts,
  263   bool ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts,
  300   bool ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts,
tools/clang/include/clang/Serialization/ModuleManager.h
   70   IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  397 using AnalyzerOptionsRef = IntrusiveRefCntPtr<AnalyzerOptions>;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
   77 class CallEventRef : public IntrusiveRefCntPtr<const T> {
   79   CallEventRef(const T *Call) : IntrusiveRefCntPtr<const T>(Call) {}
   80   CallEventRef(const CallEventRef &Orig) : IntrusiveRefCntPtr<const T>(Orig) {}
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
   37   typedef IntrusiveRefCntPtr<const ProgramState> ProgramStateRef;
tools/clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
  147       IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS,
tools/clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
   64   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
   68   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS;
   72   llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS;
   75   llvm::IntrusiveRefCntPtr<FileManager> Files;
tools/clang/include/clang/Tooling/StandaloneExecution.h
   39       IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
tools/clang/include/clang/Tooling/Tooling.h
  190     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
  321             IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
  323             IntrusiveRefCntPtr<FileManager> Files = nullptr);
  380   llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
  381   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
  382   llvm::IntrusiveRefCntPtr<FileManager> Files;
tools/clang/lib/ARCMigrate/ARCMT.cpp
  182     IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  183     IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  221   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  222   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  261   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  262   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  370   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  371   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  407   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  408   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  513     IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  514     IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  534   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  535   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2240   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
 2241   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
tools/clang/lib/AST/ASTContext.cpp
  970 ASTContext::setExternalSource(IntrusiveRefCntPtr<ExternalASTSource> Source) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  104                IntrusiveRefCntPtr<DynMatcherInterface> InnerMatcher)
  117   const IntrusiveRefCntPtr<DynMatcherInterface> InnerMatcher;
tools/clang/lib/Basic/Diagnostic.cpp
   75     IntrusiveRefCntPtr<DiagnosticIDs> diags,
   76     IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, DiagnosticConsumer *client,
tools/clang/lib/Basic/FileManager.cpp
   52                          IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS)
tools/clang/lib/Basic/SourceManager.cpp
 2173   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
tools/clang/lib/Basic/Warnings.cpp
   73   const IntrusiveRefCntPtr< DiagnosticIDs > DiagIDs =
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  351   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  354   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  355   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
tools/clang/lib/Driver/Driver.cpp
  123                IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS)
tools/clang/lib/Frontend/ASTMerge.cpp
   39   IntrusiveRefCntPtr<DiagnosticIDs>
   44     IntrusiveRefCntPtr<DiagnosticsEngine>
tools/clang/lib/Frontend/ASTUnit.cpp
  523   IntrusiveRefCntPtr<TargetInfo> &Target;
  532                    IntrusiveRefCntPtr<TargetInfo> &Target, unsigned &Counter)
  718 IntrusiveRefCntPtr<ASTReader> ASTUnit::getASTReader() const {
  746 void ASTUnit::ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
  758     WhatToLoad ToLoad, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
  778   IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
 1101                     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
 1305     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild,
 1493                 IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
 1498   IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
 1515     IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FrontendAction *Action,
 1661     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
 1695     IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr,
 1732     IntrusiveRefCntPtr<DiagnosticsEngine> Diags, StringRef ResourceFilesPath,
 1741     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
 1827                       IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
 2268     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
   59       IntrusiveRefCntPtr<ExternalSemaSource> FinalReader)
   62   IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
   72                         IntrusiveRefCntPtr<ExternalSemaSource> FinalReader)
  112 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource(
  113     CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) {
  142     IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  143     IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  185       IntrusiveRefCntPtr<ASTReader> Reader;
tools/clang/lib/Frontend/CompilerInstance.cpp
  138 IntrusiveRefCntPtr<ASTReader> CompilerInstance::getModuleManager() const {
  141 void CompilerInstance::setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader) {
  274 IntrusiveRefCntPtr<DiagnosticsEngine>
  279   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  280   IntrusiveRefCntPtr<DiagnosticsEngine>
  311     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
  506 IntrusiveRefCntPtr<ASTReader> CompilerInstance::createPCHExternalASTSource(
  517   IntrusiveRefCntPtr<ASTReader> Reader(new ASTReader(
 2151     IntrusiveRefCntPtr<ExternalSemaSource> ESS) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
 3685 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
 3692 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
 3694     IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS) {
 3698   IntrusiveRefCntPtr<llvm::vfs::FileSystem> Result = BaseFS;
 3708     IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = llvm::vfs::getVFSFromYAML(
tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
   28     ArrayRef<const char *> ArgList, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
   29     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool ShouldRecoverOnErorrs) {
tools/clang/lib/Frontend/FrontendAction.cpp
  554     IntrusiveRefCntPtr<DiagnosticsEngine> Diags(&CI.getDiagnostics());
  557     IntrusiveRefCntPtr<DiagnosticsEngine> ASTDiags(
  626     IntrusiveRefCntPtr<DiagnosticsEngine> Diags(&CI.getDiagnostics());
  834       IntrusiveRefCntPtr<ExternalSemaSource> source, FinalReader;
  908     IntrusiveRefCntPtr<ExternalASTSource>
tools/clang/lib/Frontend/FrontendActions.cpp
  561     bool ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts,
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
   51 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   54                                IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
   57   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS(
   60   IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay(
  239     IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
  510     CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  517     CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  705     IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
  726     IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) {
  732     IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS =
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  249     IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  743     IntrusiveRefCntPtr<DiagnosticIDs> IDs(new DiagnosticIDs());
tools/clang/lib/Serialization/ASTReader.cpp
  180     IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, bool Complain) {
  556     IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, bool Complain) {
  558   IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(ExistingDiags.getDiagnosticIDs());
  559   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
 5738   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions);
tools/clang/lib/Tooling/AllTUsExecution.cpp
  126             IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS =
tools/clang/lib/Tooling/CompilationDatabase.cpp
  263   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/lib/Tooling/Core/Replacement.cpp
  584   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
   51       llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS)
   74       llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS,
  148   llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS;
tools/clang/lib/Tooling/Refactoring.cpp
   42   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/lib/Tooling/StandaloneExecution.cpp
   32     IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS,
tools/clang/lib/Tooling/Tooling.cpp
   78           IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
  182     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
  189   llvm::IntrusiveRefCntPtr<FileManager> Files(
  204   llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem(
  206   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  320   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  406                      IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS,
  407                      IntrusiveRefCntPtr<FileManager> Files)
  625   llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem(
  627   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  630   llvm::IntrusiveRefCntPtr<FileManager> Files(
tools/clang/tools/arcmt-test/arcmt-test.cpp
  110   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  113   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  114   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  155   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  158   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  159   IntrusiveRefCntPtr<DiagnosticsEngine> TopDiags(
tools/clang/tools/c-index-test/core_main.cpp
  214   IntrusiveRefCntPtr<DiagnosticsEngine>
  260   IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
tools/clang/tools/clang-format/ClangFormat.cpp
  185   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  299   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  302   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  303   IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
  306   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  436     IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
tools/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
   32   llvm::IntrusiveRefCntPtr<FileManager> Files(
   35   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/tools/clang-rename/ClangRename.cpp
  214     IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/tools/diagtool/ShowEnabledWarnings.cpp
   55 static IntrusiveRefCntPtr<DiagnosticsEngine>
   57   IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs());
   62   IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags(
   75   IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags =
  104   IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv);
tools/clang/tools/driver/cc1_main.cpp
  193   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  213   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/tools/driver/cc1as_main.cpp
  560   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  564   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  116   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions;
  118   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
tools/clang/tools/driver/driver.cpp
  429   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts =
  436   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
   94   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions());
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
  124   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/tools/extra/clang-include-fixer/plugin/IncludeFixerPlugin.cpp
   88   IntrusiveRefCntPtr<IncludeFixerSemaSource> SemaSource;
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  452   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions);
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
  171   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions());
tools/clang/tools/extra/clang-query/Query.h
   50 typedef llvm::IntrusiveRefCntPtr<Query> QueryRef;
tools/clang/tools/extra/clang-reorder-fields/tool/ClangReorderFields.cpp
   69   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions());
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  102                 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS)
  280   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  314     IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS)
  496              llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS,
  533                   IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS)
  573                   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS) {
tools/clang/tools/extra/clang-tidy/ClangTidy.h
   34       IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS = nullptr);
   48   IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS;
   78              llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS,
   91                   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  206     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS)
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h
  224       llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
  258   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   56     IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS)
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.h
   40       IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS);
  120   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFs;
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  259    llvm::IntrusiveRefCntPtr<vfs::FileSystem> FS) {
  307 llvm::IntrusiveRefCntPtr<vfs::FileSystem>
  309                llvm::IntrusiveRefCntPtr<vfs::FileSystem> BaseFS) {
  319   IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getVFSFromYAML(
  333   llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> BaseFS(
  337     IntrusiveRefCntPtr<vfs::FileSystem> VfsFromFile =
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1023   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS;
 1051   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = Input.VFS;
 1333                  llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) && {
 1733              Position Pos, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
 1753                             llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
tools/clang/tools/extra/clangd/CodeComplete.h
  254                                 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
  263                             IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
tools/clang/tools/extra/clangd/Compiler.cpp
   56   llvm::IntrusiveRefCntPtr<DiagnosticsEngine> CommandLineDiagsEngine =
   73                         llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
tools/clang/tools/extra/clangd/Compiler.h
   46   IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
   71     IntrusiveRefCntPtr<llvm::vfs::FileSystem>, DiagnosticConsumer &);
tools/clang/tools/extra/clangd/FS.cpp
   53 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   55     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) {
   60     CollectFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS,
   93 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   95     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) const {
   98     CacheVFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS,
tools/clang/tools/extra/clangd/FS.h
   55   IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   56   getProducingFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS);
   61   IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   62   getConsumingFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) const;
tools/clang/tools/extra/clangd/FSProvider.cpp
   25   explicit VolatileFileSystem(llvm::IntrusiveRefCntPtr<FileSystem> FS)
   71 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
tools/clang/tools/extra/clangd/FSProvider.h
   27   virtual llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   34   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   20     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) {
tools/clang/tools/extra/clangd/HeaderSourceSwitch.h
   22     llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  379 llvm::IntrusiveRefCntPtr<ExternalSemaSource>
tools/clang/tools/extra/clangd/IncludeFixer.h
   49   llvm::IntrusiveRefCntPtr<ExternalSemaSource> unresolvedNameRecorder();
tools/clang/tools/extra/clangd/ParsedAST.cpp
  222                  llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
tools/clang/tools/extra/clangd/ParsedAST.h
   55         llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
tools/clang/tools/extra/clangd/Preamble.cpp
  114   llvm::IntrusiveRefCntPtr<DiagnosticsEngine> PreambleDiagsEngine =
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  271     IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const override {
  903     IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const override {
  906         ListenStatVFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS,
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   74     llvm::IntrusiveRefCntPtr<FileManager> Files(
  108   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp
  259     llvm::IntrusiveRefCntPtr<FileManager> Files(
  288   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
   21 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   24   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS(
tools/clang/tools/extra/clangd/unittests/TestFS.h
   26 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
   33   IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const override {
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp
   58   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS(
tools/clang/tools/extra/modularize/ModularizeUtilities.h
  199   const llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> DiagIDs;
  201   llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> DiagnosticOpts;
  205   llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> Diagnostics;
  209   llvm::IntrusiveRefCntPtr<clang::TargetInfo> Target;
  213   llvm::IntrusiveRefCntPtr<clang::FileManager> FileMgr;
  215   llvm::IntrusiveRefCntPtr<clang::SourceManager> SourceMgr;
tools/clang/tools/extra/unittests/clang-apply-replacements/ApplyReplacementsTest.cpp
   38   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts(new DiagnosticOptions());
tools/clang/tools/extra/unittests/clang-include-fixer/IncludeFixerTest.cpp
   26   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   28   llvm::IntrusiveRefCntPtr<FileManager> Files(
tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp
   65     llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   67     llvm::IntrusiveRefCntPtr<FileManager> Files(
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  113   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  115   llvm::IntrusiveRefCntPtr<FileManager> Files(
tools/clang/tools/libclang/CIndex.cpp
 3368   IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
 3444   IntrusiveRefCntPtr<DiagnosticsEngine>
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  250   AllocatedCXCodeCompleteResults(IntrusiveRefCntPtr<FileManager> FileMgr);
  259   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  262   IntrusiveRefCntPtr<DiagnosticsEngine> Diag;
  268   IntrusiveRefCntPtr<FileManager> FileMgr;
  271   IntrusiveRefCntPtr<SourceManager> SourceMgr;
  358     IntrusiveRefCntPtr<FileManager> FileMgr)
tools/clang/tools/libclang/CIndexDiagnostic.cpp
  186     IntrusiveRefCntPtr<DiagnosticOptions> DOpts = new DiagnosticOptions;
tools/clang/tools/libclang/CLog.h
   31 typedef IntrusiveRefCntPtr<Logger> LogRef;
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  331 IntrusiveRefCntPtr<AttrListInfo>
tools/clang/tools/libclang/CXIndexDataConsumer.h
   51   IntrusiveRefCntPtr<AttrListInfo> AttrList;
  252   static IntrusiveRefCntPtr<AttrListInfo> create(const Decl *D,
tools/clang/tools/libclang/Indexing.cpp
  482   IntrusiveRefCntPtr<DiagnosticsEngine>
tools/clang/unittests/AST/ASTVectorTest.cpp
   34   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
tools/clang/unittests/AST/CommentLexer.cpp
   39   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
tools/clang/unittests/AST/CommentParser.cpp
   45   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
tools/clang/unittests/AST/ExternalASTSourceTest.cpp
   43   IntrusiveRefCntPtr<ExternalASTSource> Source;
tools/clang/unittests/Basic/SourceManagerTest.cpp
   44   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
   49   IntrusiveRefCntPtr<TargetInfo> Target;
tools/clang/unittests/Driver/ToolChainTest.cpp
   30   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
   32   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
   35   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
   84   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
   86   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
   89   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  124   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  126   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  129   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  157   IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
  159   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   30   IntrusiveRefCntPtr<DiagnosticsEngine> Diags;
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   54   IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
   87   IntrusiveRefCntPtr<DiagnosticsEngine> Diags = Instance.createDiagnostics(
tools/clang/unittests/Frontend/OutputStreamTest.cpp
   63   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
   92     IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
tools/clang/unittests/Frontend/PCHPreambleTest.cpp
   49   IntrusiveRefCntPtr<ReadCountingInMemoryFileSystem> VFS;
   93     IntrusiveRefCntPtr<DiagnosticsEngine>
tools/clang/unittests/Lex/HeaderSearchTest.cpp
   48   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
   51   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
   56   IntrusiveRefCntPtr<TargetInfo> Target;
tools/clang/unittests/Lex/LexerTest.cpp
  106   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
  111   IntrusiveRefCntPtr<TargetInfo> Target;
tools/clang/unittests/Lex/PPCallbacksTest.cpp
  128   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
  130   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
  131   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  136   IntrusiveRefCntPtr<TargetInfo> Target;
tools/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
   44   IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
   49   IntrusiveRefCntPtr<TargetInfo> Target;
tools/clang/unittests/Tooling/RefactoringTest.cpp
 1035   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS(
 1056   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS(
 1077   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS(
tools/clang/unittests/Tooling/RewriterTestContext.h
  113   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  116   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
  117   IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  237   llvm::IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
  239   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS =
  241   llvm::IntrusiveRefCntPtr<FileManager> FileMgr =
  243   llvm::IntrusiveRefCntPtr<SourceManager> SourceMgr =
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp
  112   llvm::IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
  114   IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS =
  116   llvm::IntrusiveRefCntPtr<FileManager> FileMgr =
  118   llvm::IntrusiveRefCntPtr<SourceManager> SourceMgr =
tools/clang/unittests/Tooling/ToolingTest.cpp
  151   llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem(
  153   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  156   llvm::IntrusiveRefCntPtr<FileManager> Files(
  177   llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem(
  179   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
  182   llvm::IntrusiveRefCntPtr<FileManager> Files(
  434   llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem(
  436   llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
tools/lldb/include/lldb/Host/FileSystem.h
   40   FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs,
   52   static void Initialize(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
  185   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> GetVirtualFileSystem() {
  191   llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  117       llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> &ast_source_up);
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  261       IntrusiveRefCntPtr<vfs::FileSystem> vfs = vfs::getVFSFromYAML(
tools/lldb/source/Host/common/FileSystem.cpp
   73 void FileSystem::Initialize(IntrusiveRefCntPtr<vfs::FileSystem> fs) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  997       IntrusiveRefCntPtr<ExternalASTSource> Source(multiplexer);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  216   llvm::IntrusiveRefCntPtr<DiagnosticIDs> diag_ids(new DiagnosticIDs());
  217   llvm::IntrusiveRefCntPtr<DiagnosticOptions> diags_opts(
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
   69       llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> diagnostics_engine,
  101   llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> m_diagnostics_engine;
  156     llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> diagnostics_engine,
  641   llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> diagnostics_engine =
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
  147   llvm::IntrusiveRefCntPtr<DiagnosticIDs> diag_ids(new DiagnosticIDs());
  148   llvm::IntrusiveRefCntPtr<DiagnosticOptions> diags_opts(
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
  163   llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> external_source_owning_ptr(
tools/lldb/source/Symbol/ClangASTContext.cpp
  601         llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> proxy_ast_source(
  679     llvm::IntrusiveRefCntPtr<ExternalASTSource> &ast_source_up) {
  715   llvm::IntrusiveRefCntPtr<clang::ExternalASTSource> ast_source_up(
  775     llvm::IntrusiveRefCntPtr<DiagnosticIDs> diag_id_sp(new DiagnosticIDs());
tools/lldb/unittests/Host/FileSystemTest.cpp
  176 static IntrusiveRefCntPtr<DummyFileSystem> GetSimpleDummyFS() {
  177   IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
unittests/ADT/IntrusiveRefCntPtrTest.cpp
   31     IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1;
   33     IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2;
   60     IntrusiveRefCntPtr<InterceptRefCounted> R = I;
unittests/Support/VirtualFileSystemTest.cpp
  187   IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
  227   IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
  231   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D));
  245   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  248   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  250   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  274   IntrusiveRefCntPtr<DummyFileSystem> Base(new DummyFileSystem());
  275   IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
  276   IntrusiveRefCntPtr<DummyFileSystem> Top(new DummyFileSystem());
  277   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  313   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  314   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  315   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  338   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  339   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  340   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  363   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  365   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  367   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  481   IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
  570   IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
  597   IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
  645   IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
  716   IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
  771   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  772   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  773   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  795   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  796   IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
  797   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  798   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  837   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  838   IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
  839   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  840   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  857   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
  858   IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
  859   IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
  860   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
  900   IntrusiveRefCntPtr<vfs::InMemoryFileSystem> Base(
 1345   IntrusiveRefCntPtr<vfs::FileSystem>
 1347                        IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS) {
 1353   IntrusiveRefCntPtr<vfs::FileSystem> getFromYAMLString(
 1355       IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS = new DummyFileSystem()) {
 1369   IntrusiveRefCntPtr<vfs::FileSystem> FS;
 1380   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1382   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1404   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
 1440   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1442   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1458   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
 1476   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1478   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1494   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
 1508   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1511   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString("{]", Lower);
 1599   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1602   IntrusiveRefCntPtr<vfs::FileSystem> FS =
 1651   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1655   IntrusiveRefCntPtr<vfs::FileSystem> FS =
 1697   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1701   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1716   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1723   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1746   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
 1763   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1768   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1796   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
 1808   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1813   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1831   IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
 1850   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1852   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1884   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1888   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1913   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1917   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1941   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1946   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 1970   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 1974   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 2016   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 2021   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 2074   IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
 2080   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(
 2131   IntrusiveRefCntPtr<ErrorDummyFileSystem> Lower(new ErrorDummyFileSystem());
 2137   IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(