| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | IntrusiveRefCntPtr.h | 168 template <typename T> class IntrusiveRefCntPtr { 174 explicit IntrusiveRefCntPtr() = default; 175 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 177 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 181 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 191 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 193 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 203 void swap(IntrusiveRefCntPtr &other) { in swap() 231 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | IntrusiveRefCntPtrTest.cpp | 37 IntrusiveRefCntPtr<TypeParam> R1 = S1; in TYPED_TEST() 39 IntrusiveRefCntPtr<TypeParam> R2 = S2; in TYPED_TEST() 49 IntrusiveRefCntPtr<TypeParam> R1 = std::move(S1); in TYPED_TEST() 88 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 93 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST() 104 static_assert(!std::is_convertible<IntrusiveRefCntPtr<X> &&, 123 TEST(IntrusiveRefCntPtr, InteropsWithConvertible) { in TEST() argument 133 IntrusiveRefCntPtr<X> X1 = std::move(Y1); in TEST() 134 IntrusiveRefCntPtr<X> X2 = Y2; in TEST() 135 IntrusiveRefCntPtr<X> X3; in TEST() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Driver/ |
| H A D | ToolChainTest.cpp | 32 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in TEST() 34 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 36 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() 130 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 133 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() 169 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 200 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 315 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 343 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() 419 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | VirtualFileSystemTest.cpp | 273 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 300 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 338 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 363 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 1477 IntrusiveRefCntPtr<vfs::FileSystem> FS; in TEST_F() 1614 IntrusiveRefCntPtr<vfs::FileSystem> FS = in TEST_F() 1662 IntrusiveRefCntPtr<vfs::FileSystem> FS = in TEST_F() 1706 IntrusiveRefCntPtr<vfs::FileSystem> FS = in TEST_F() 1747 IntrusiveRefCntPtr<vfs::FileSystem> FS = in TEST_F() 2092 IntrusiveRefCntPtr<vfs::FileSystem> FS = in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | 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; 481 IntrusiveRefCntPtr<ASTReader> getASTReader() const; 667 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, 721 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS); [all …]
|
| H A D | 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> TheASTReader; 515 IntrusiveRefCntPtr<ASTReader> getASTReader() const; [all …]
|
| H A D | PrecompiledPreamble.h | 84 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, 120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, 127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, 169 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, 178 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
|
| H A D | Utils.h | 188 IntrusiveRefCntPtr<ExternalSemaSource> 190 IntrusiveRefCntPtr<ExternalSemaSource> &Reader); 196 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = nullptr; 200 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FS.cpp | 53 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> 55 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in getProducingFS() 60 CollectFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in getProducingFS() 89 return llvm::IntrusiveRefCntPtr<CollectFS>( in getProducingFS() 93 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> 95 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) const { in getConsumingFS() 98 CacheVFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in getConsumingFS() 111 return llvm::IntrusiveRefCntPtr<CacheVFS>(new CacheVFS(std::move(FS), *this)); in getConsumingFS()
|
| H A D | FS.h | 56 IntrusiveRefCntPtr<llvm::vfs::FileSystem> 57 getProducingFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS); 62 IntrusiveRefCntPtr<llvm::vfs::FileSystem> 63 getConsumingFS(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) const;
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningWorker.h | 56 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS); 74 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS; 76 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFS; 80 llvm::IntrusiveRefCntPtr<DependencyScanningWorkerFilesystem> DepFS; 83 llvm::IntrusiveRefCntPtr<FileManager> Files;
|
| /llvm-project-15.0.7/clang/unittests/Tooling/Syntax/ |
| H A D | TreeTestBase.h | 43 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 44 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = 46 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS = 48 IntrusiveRefCntPtr<FileManager> FileMgr = 50 IntrusiveRefCntPtr<SourceManager> SourceMgr =
|
| /llvm-project-15.0.7/clang-tools-extra/modularize/ |
| H A D | 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;
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | ThreadsafeFS.h | 32 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> 40 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> view(PathRef CWD) const; 45 virtual llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> viewImpl() const = 0; 50 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> viewImpl() const override;
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ChainedIncludesSource.cpp | 60 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()
|
| /llvm-project-15.0.7/clang/tools/clang-extdef-mapping/ |
| H A D | ClangExtDefMapGen.cpp | 120 static IntrusiveRefCntPtr<DiagnosticsEngine> Diags; 122 IntrusiveRefCntPtr<DiagnosticsEngine> GetDiagnosticsEngine() { in GetDiagnosticsEngine() 129 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in GetDiagnosticsEngine() 133 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in GetDiagnosticsEngine() 135 IntrusiveRefCntPtr<DiagnosticsEngine> DiagEngine( in GetDiagnosticsEngine() 151 IntrusiveRefCntPtr<DiagnosticsEngine> DiagEngine = GetDiagnosticsEngine(); in HandleAST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidy.h | 38 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS = nullptr); 52 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS; 90 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS, 114 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | FileCollector.h | 41 IntrusiveRefCntPtr<vfs::FileSystem> FS, 109 static IntrusiveRefCntPtr<vfs::FileSystem> 110 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS, 128 IntrusiveRefCntPtr<vfs::FileSystem> FS,
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ToolingTest.cpp | 177 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() 182 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 203 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() 208 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 234 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 263 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 309 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 331 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> 332 overlayRealFS(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in overlayRealFS() 340 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFS; [all …]
|
| H A D | RewriterTestContext.h | 53 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in RewriterTestContext() 128 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 131 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; 132 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem;
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 182 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration() 220 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors() 221 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors() 260 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues() 261 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues() 369 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms() 370 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms() 406 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings() 407 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings() 515 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in MigrationProcess() [all …]
|
| /llvm-project-15.0.7/clang/tools/diagtool/ |
| H A D | ShowEnabledWarnings.cpp | 55 static IntrusiveRefCntPtr<DiagnosticsEngine> 57 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs()); in createDiagnostics() 76 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags = in createDiagnostics() 105 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv); in run()
|
| /llvm-project-15.0.7/clang/tools/clang-fuzzer/handle-cxx/ |
| H A D | handle_cxx.cpp | 32 llvm::IntrusiveRefCntPtr<FileManager> Files( in HandleCXX() 35 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in HandleCXX() 37 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in HandleCXX()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TestFS.h | 27 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> 34 IntrusiveRefCntPtr<llvm::vfs::FileSystem> viewImpl() const override { in viewImpl() 38 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem = in viewImpl()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 78 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver() 203 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs() 210 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs() 225 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs() 227 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() 349 IntrusiveRefCntPtr<DiagnosticOptions> ParsedDiagOpts; in run() 357 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics = in run() 432 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS, in ClangTool() 433 IntrusiveRefCntPtr<FileManager> Files) in ClangTool() 653 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs() [all …]
|