/external/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 31 class IntrusiveRefCntPtr; variable 135 class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() : Obj(nullptr) {} in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 151 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 156 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 161 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 166 IntrusiveRefCntPtr& operator=(IntrusiveRefCntPtr S) { 171 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() [all …]
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 115 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem()); in TEST() 155 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem()); in TEST() 159 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D)); in TEST() 173 IntrusiveRefCntPtr<DummyFileSystem> Base(new DummyFileSystem()); in TEST() 174 IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem()); in TEST() 175 IntrusiveRefCntPtr<DummyFileSystem> Top(new DummyFileSystem()); in TEST() 176 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 212 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem()); in TEST() 213 IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem()); in TEST() 214 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | IntrusiveRefCntPtrTest.cpp | 22 TEST(IntrusiveRefCntPtr, RefCountedBaseVPTRCopyDoesNotLeak) { in TEST() argument 24 IntrusiveRefCntPtr<VirtualRefCounted> R1 = V1; in TEST() 26 IntrusiveRefCntPtr<VirtualRefCounted> R2 = V2; in TEST() 32 TEST(IntrusiveRefCntPtr, RefCountedBaseCopyDoesNotLeak) { in TEST() argument 34 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1; in TEST() 36 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2; in TEST() 55 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 60 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 71 IntrusiveRefCntPtr<CompilerInvocation> Invocation; 74 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 77 IntrusiveRefCntPtr<TargetInfo> Target; 80 IntrusiveRefCntPtr<vfs::FileSystem> VirtualFileSystem; 83 IntrusiveRefCntPtr<FileManager> FileMgr; 86 IntrusiveRefCntPtr<SourceManager> SourceMgr; 89 IntrusiveRefCntPtr<Preprocessor> PP; 92 IntrusiveRefCntPtr<ASTContext> Context; 107 IntrusiveRefCntPtr<ASTReader> ModuleManager; 365 void setVirtualFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS) { in setVirtualFileSystem() [all …]
|
D | ASTUnit.h | 87 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; 88 IntrusiveRefCntPtr<FileManager> FileMgr; 89 IntrusiveRefCntPtr<SourceManager> SourceMgr; 91 IntrusiveRefCntPtr<TargetInfo> Target; 92 IntrusiveRefCntPtr<Preprocessor> PP; 93 IntrusiveRefCntPtr<ASTContext> Ctx; 95 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts; 96 IntrusiveRefCntPtr<ASTReader> Reader; 114 IntrusiveRefCntPtr<CompilerInvocation> Invocation; 308 static void ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, [all …]
|
D | CompilerInvocation.h | 63 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts; 66 IntrusiveRefCntPtr<HeaderSearchOptions> HeaderSearchOpts; 69 IntrusiveRefCntPtr<PreprocessorOptions> PreprocessorOpts; 213 IntrusiveRefCntPtr<vfs::FileSystem>
|
D | Utils.h | 167 IntrusiveRefCntPtr<ExternalSemaSource> 169 IntrusiveRefCntPtr<ExternalSemaSource> &Reader); 178 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = 179 IntrusiveRefCntPtr<DiagnosticsEngine>());
|
/external/clang/tools/diagtool/ |
D | ShowEnabledWarnings.cpp | 56 static IntrusiveRefCntPtr<DiagnosticsEngine> 58 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs()); in createDiagnostics() 63 IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags( in createDiagnostics() 74 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags = in createDiagnostics() 103 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv); in run()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 177 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createInvocationForMigration() 178 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createInvocationForMigration() 218 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors() 219 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in emitPremigrationErrors() 257 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues() 258 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForManualIssues() 366 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms() 367 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in applyTransforms() 403 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings() 404 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in getFileRemappings() [all …]
|
/external/clang/tools/clang-fuzzer/ |
D | ClangFuzzer.cpp | 28 llvm::IntrusiveRefCntPtr<FileManager> Files( in TestOneInput() 31 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in TestOneInput() 33 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in TestOneInput()
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 206 IntrusiveRefCntPtr<FileSystem> getRealFileSystem(); 219 typedef SmallVector<IntrusiveRefCntPtr<FileSystem>, 1> FileSystemList; 225 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base); 227 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS); 249 IntrusiveRefCntPtr<FileSystem> 253 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
|
D | FileManager.h | 124 IntrusiveRefCntPtr<vfs::FileSystem> FS; 183 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr); 231 IntrusiveRefCntPtr<vfs::FileSystem> getVirtualFileSystem() const { in getVirtualFileSystem()
|
D | LLVM.h | 42 template <typename T> class IntrusiveRefCntPtr; variable 74 using llvm::IntrusiveRefCntPtr;
|
/external/clang/lib/Frontend/ |
D | ChainedIncludesSource.cpp | 35 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader; 113 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource( in createChainedIncludesSource() 114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource() 119 IntrusiveRefCntPtr<ChainedIncludesSource> source(new ChainedIncludesSource()); in createChainedIncludesSource() 144 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createChainedIncludesSource() 145 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in createChainedIncludesSource() 186 IntrusiveRefCntPtr<ASTReader> Reader; in createChainedIncludesSource()
|
D | ASTMerge.cpp | 40 IntrusiveRefCntPtr<DiagnosticIDs> in ExecuteAction() 43 IntrusiveRefCntPtr<DiagnosticsEngine> in ExecuteAction()
|
/external/clang/tools/arcmt-test/ |
D | arcmt-test.cpp | 108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in checkForMigration() 111 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForMigration() 112 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( in checkForMigration() 152 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in performTransformations() 155 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in performTransformations() 156 IntrusiveRefCntPtr<DiagnosticsEngine> TopDiags( in performTransformations()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 124 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; 125 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 130 IntrusiveRefCntPtr<TargetInfo> Target; 164 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); in InclusionDirectiveFilenameRange() 169 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); in InclusionDirectiveFilenameRange()
|
D | PPConditionalDirectiveRecordTest.cpp | 46 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; 51 IntrusiveRefCntPtr<TargetInfo> Target;
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 40 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in runAndSave() 43 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), in runAndSave()
|
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteRope.h | 60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData; 66 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece() 170 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 65 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 66 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 252 AllocatedCXCodeCompleteResults(IntrusiveRefCntPtr<FileManager> FileMgr); 261 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 264 IntrusiveRefCntPtr<DiagnosticsEngine> Diag; 270 IntrusiveRefCntPtr<FileManager> FileMgr; 273 IntrusiveRefCntPtr<SourceManager> SourceMgr; 284 IntrusiveRefCntPtr<clang::GlobalCodeCompletionAllocator> 288 IntrusiveRefCntPtr<clang::GlobalCodeCompletionAllocator> 322 IntrusiveRefCntPtr<FileManager> FileMgr) in AllocatedCXCodeCompleteResults() 326 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), &*DiagOpts)), in AllocatedCXCodeCompleteResults()
|
/external/clang/tools/driver/ |
D | cc1_main.cpp | 68 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in cc1_main() 83 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in cc1_main()
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in RewriterTestContext() 109 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 178 IntrusiveRefCntPtr<FileSystem> vfs::getRealFileSystem() { in getRealFileSystem() 179 static IntrusiveRefCntPtr<FileSystem> FS = new RealFileSystem(); in getRealFileSystem() 226 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) { in OverlayFileSystem() 230 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) { in pushOverlay() 468 IntrusiveRefCntPtr<FileSystem> ExternalFS; 486 VFSFromYAML(IntrusiveRefCntPtr<FileSystem> ExternalFS) in VFSFromYAML() 508 IntrusiveRefCntPtr<FileSystem> ExternalFS); 856 IntrusiveRefCntPtr<FileSystem> ExternalFS) { in create() 978 IntrusiveRefCntPtr<FileSystem> 981 IntrusiveRefCntPtr<FileSystem> ExternalFS) { in getVFSFromYAML()
|