Home
last modified time | relevance | path

Searched refs:IntrusiveRefCntPtr (Results 1 – 25 of 91) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h163 template <typename T> class IntrusiveRefCntPtr {
169 explicit IntrusiveRefCntPtr() = default;
170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function
171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function
172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function
176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function
182 IntrusiveRefCntPtr(std::unique_ptr<X> S) : Obj(S.release()) { in IntrusiveRefCntPtr() function
186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr()
188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) {
198 void swap(IntrusiveRefCntPtr &other) { in swap()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DASTUnit.h110 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,
[all …]
H A DCompilerInstance.h78 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
81 IntrusiveRefCntPtr<TargetInfo> Target;
84 IntrusiveRefCntPtr<TargetInfo> AuxTarget;
87 IntrusiveRefCntPtr<FileManager> FileMgr;
90 IntrusiveRefCntPtr<SourceManager> SourceMgr;
93 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
99 IntrusiveRefCntPtr<ASTContext> Context;
102 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
120 IntrusiveRefCntPtr<ASTReader> TheASTReader;
514 IntrusiveRefCntPtr<ASTReader> getASTReader() const;
[all …]
H A DUtils.h204 IntrusiveRefCntPtr<ExternalSemaSource>
206 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
222 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
223 IntrusiveRefCntPtr<DiagnosticsEngine>(),
224 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr,
H A DPrecompiledPreamble.h85 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DCompilerInvocation.h81 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
283 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
287 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
289 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DChainedIncludesSource.cpp60 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader) in ChainedIncludesSourceMembers()
63 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
73 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader) in ChainedIncludesSource()
113 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource( in createChainedIncludesSource()
114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
144 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createChainedIncludesSource()
145 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createChainedIncludesSource()
187 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource()
217 return IntrusiveRefCntPtr<ChainedIncludesSource>( in createChainedIncludesSource()
H A DPrecompiledPreamble.cpp56 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
59 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH()
62 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS( in createVFSOverlayForPreamblePCH()
65 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
315 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
607 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
614 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
793 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble()
815 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage()
821 IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS = in setupPreambleStorage()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningWorker.h67 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
71 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS;
75 llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS;
78 llvm::IntrusiveRefCntPtr<FileManager> Files;
/netbsd-src/external/apache2/llvm/dist/clang/tools/diagtool/
H A DShowEnabledWarnings.cpp55 static IntrusiveRefCntPtr<DiagnosticsEngine>
57 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs()); in createDiagnostics()
62 IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags( in createDiagnostics()
75 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags = in createDiagnostics()
104 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv); in run()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DARCMT.cpp183 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createInvocationForMigration()
184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration()
222 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors()
223 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors()
262 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues()
263 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues()
371 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms()
372 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms()
408 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings()
409 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DFileCollector.h42 IntrusiveRefCntPtr<vfs::FileSystem> FS,
110 static IntrusiveRefCntPtr<vfs::FileSystem>
111 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
129 IntrusiveRefCntPtr<vfs::FileSystem> FS,
H A DVirtualFileSystem.h304 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
323 using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
330 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
333 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
372 explicit ProxyFileSystem(IntrusiveRefCntPtr<FileSystem> FS) in ProxyFileSystem()
403 IntrusiveRefCntPtr<FileSystem> FS;
507 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
767 IntrusiveRefCntPtr<FileSystem> ExternalFS;
800 RedirectingFileSystem(IntrusiveRefCntPtr<FileSystem> ExternalFS);
824 void *DiagContext, IntrusiveRefCntPtr<FileSystem> ExternalFS);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DTooling.cpp78 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver()
184 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs()
191 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs()
206 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs()
208 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs()
327 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in run()
335 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in run()
409 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS, in ClangTool()
410 IntrusiveRefCntPtr<FileManager> Files) in ClangTool()
630 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs()
[all …]
H A DExpandResponseFilesCompilationDatabase.cpp29 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) in ExpandResponseFilesDatabase()
75 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
82 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in expandResponseFiles()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/handle-cxx/
H A Dhandle_cxx.cpp32 llvm::IntrusiveRefCntPtr<FileManager> Files( in HandleCXX()
35 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in HandleCXX()
37 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in HandleCXX()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/
H A DTooling.h190 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
312 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS =
314 IntrusiveRefCntPtr<FileManager> Files = nullptr);
371 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
372 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
373 llvm::IntrusiveRefCntPtr<FileManager> Files;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DBinaryHolder.h41 BinaryHolder(IntrusiveRefCntPtr<vfs::FileSystem> VFS, bool Verbose = false)
60 Error load(IntrusiveRefCntPtr<vfs::FileSystem> VFS, StringRef Filename,
112 Error load(IntrusiveRefCntPtr<vfs::FileSystem> VFS, StringRef Filename,
141 IntrusiveRefCntPtr<vfs::FileSystem> VFS;
H A Ddsymutil.h38 parseDebugMap(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
44 bool dumpStab(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
H A DReproducer.h35 IntrusiveRefCntPtr<vfs::FileSystem> getVFS() const { return VFS; } in getVFS()
42 IntrusiveRefCntPtr<vfs::FileSystem> VFS;
/netbsd-src/external/apache2/llvm/dist/clang/tools/arcmt-test/
H A Darcmt-test.cpp110 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in checkForMigration()
113 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForMigration()
114 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForMigration()
154 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in performTransformations()
157 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in performTransformations()
158 IntrusiveRefCntPtr<DiagnosticsEngine> TopDiags( in performTransformations()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/
H A DInterpreter.cpp66 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in CreateCI()
76 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in CreateCI()
149 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in create()
150 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in create()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h59 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
64 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece()
176 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DFileCollector.cpp136 IntrusiveRefCntPtr<vfs::FileSystem> FS, in addDirectoryImpl()
257 explicit FileCollectorFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS, in FileCollectorFileSystem()
305 IntrusiveRefCntPtr<vfs::FileSystem> FS;
311 IntrusiveRefCntPtr<vfs::FileSystem>
312 FileCollector::createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, in createCollectorVFS()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DFileManager.h54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
135 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
245 void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in setVirtualFileSystem()

1234