HomeSort by relevance Sort by last modified time
    Searched refs:IntrusiveRefCntPtr (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/llvm/include/llvm/ADT/
IntrusiveRefCntPtr.h 1 //== llvm/ADT/IntrusiveRefCntPtr.h - Smart Refcounting Pointer ---*- C++ -*-==//
10 // This file defines IntrusiveRefCntPtr, a template class that
16 // IntrusiveRefCntPtr is similar to Boost's intrusive_ptr with added
31 class IntrusiveRefCntPtr;
37 /// typically handled with IntrusiveRefCntPtr "smart pointers" (see below)
97 /// \c IntrusiveRefCntPtr "smart pointers" which automatically handle the
118 /// IntrusiveRefCntPtr - A template class that implements a "smart pointer"
135 class IntrusiveRefCntPtr {
141 explicit IntrusiveRefCntPtr() : Obj(nullptr) {}
143 IntrusiveRefCntPtr(T* obj) : Obj(obj)
    [all...]
  /external/llvm/unittests/ADT/
IntrusiveRefCntPtrTest.cpp 10 #include "llvm/ADT/IntrusiveRefCntPtr.h"
22 TEST(IntrusiveRefCntPtr, RefCountedBaseVPTRCopyDoesNotLeak) {
24 IntrusiveRefCntPtr<VirtualRefCounted> R1 = V1;
26 IntrusiveRefCntPtr<VirtualRefCounted> R2 = V2;
32 TEST(IntrusiveRefCntPtr, RefCountedBaseCopyDoesNotLeak) {
34 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1;
36 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2;
55 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) {
60 IntrusiveRefCntPtr<InterceptRefCounted> R = I;
  /external/clang/unittests/Driver/
ToolChainTest.cpp 29 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
31 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
34 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem(
82 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
84 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
87 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem(
  /external/clang/include/clang/Basic/
LLVM.h 42 template <typename T> class IntrusiveRefCntPtr;
74 using llvm::IntrusiveRefCntPtr;
FileManager.h 22 #include "llvm/ADT/IntrusiveRefCntPtr.h"
116 IntrusiveRefCntPtr<vfs::FileSystem> FS;
175 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
224 IntrusiveRefCntPtr<vfs::FileSystem> getVirtualFileSystem() const {
VirtualFileSystem.h 17 #include "llvm/ADT/IntrusiveRefCntPtr.h"
228 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
241 typedef SmallVector<IntrusiveRefCntPtr<FileSystem>, 1> FileSystemList;
247 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
249 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
313 IntrusiveRefCntPtr<FileSystem>
317 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
  /external/clang/lib/Tooling/
Refactoring.cpp 41 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
44 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()),
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramState_Fwd.h 14 #include "llvm/ADT/IntrusiveRefCntPtr.h"
38 typedef IntrusiveRefCntPtr<const ProgramState> ProgramStateRef;
  /external/clang/lib/Index/
SimpleFormatContext.h 64 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
65 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
66 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem;
  /external/clang/tools/clang-fuzzer/
ClangFuzzer.cpp 28 llvm::IntrusiveRefCntPtr<FileManager> Files(
31 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
33 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts,
  /external/clang/tools/diagtool/
ShowEnabledWarnings.cpp 56 static IntrusiveRefCntPtr<DiagnosticsEngine>
58 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs());
63 IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags(
76 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags =
105 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv);
  /external/clang/unittests/Basic/
VirtualFileSystemTest.cpp 137 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
177 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
181 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D));
195 IntrusiveRefCntPtr<DummyFileSystem> Base(new DummyFileSystem());
196 IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
197 IntrusiveRefCntPtr<DummyFileSystem> Top(new DummyFileSystem());
198 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
234 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
235 IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
236 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O
    [all...]
  /external/clang/include/clang/Frontend/
CompilerInstance.h 22 #include "llvm/ADT/IntrusiveRefCntPtr.h"
73 IntrusiveRefCntPtr<CompilerInvocation> Invocation;
76 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
79 IntrusiveRefCntPtr<TargetInfo> Target;
82 IntrusiveRefCntPtr<TargetInfo> AuxTarget;
85 IntrusiveRefCntPtr<vfs::FileSystem> VirtualFileSystem;
88 IntrusiveRefCntPtr<FileManager> FileMgr;
91 IntrusiveRefCntPtr<SourceManager> SourceMgr;
94 IntrusiveRefCntPtr<Preprocessor> PP;
97 IntrusiveRefCntPtr<ASTContext> Context
    [all...]
CompilerInvocation.h 26 #include "llvm/ADT/IntrusiveRefCntPtr.h"
63 IntrusiveRefCntPtr<DiagnosticOptions> DiagnosticOpts;
66 IntrusiveRefCntPtr<HeaderSearchOptions> HeaderSearchOpts;
69 IntrusiveRefCntPtr<PreprocessorOptions> PreprocessorOpts;
213 IntrusiveRefCntPtr<vfs::FileSystem>
TextDiagnosticPrinter.h 20 #include "llvm/ADT/IntrusiveRefCntPtr.h"
30 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
ASTUnit.h 29 #include "llvm/ADT/IntrusiveRefCntPtr.h"
89 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
90 IntrusiveRefCntPtr<FileManager> FileMgr;
91 IntrusiveRefCntPtr<SourceManager> SourceMgr;
93 IntrusiveRefCntPtr<TargetInfo> Target;
94 IntrusiveRefCntPtr<Preprocessor> PP;
95 IntrusiveRefCntPtr<ASTContext> Ctx;
97 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts;
98 IntrusiveRefCntPtr<ASTReader> Reader;
116 IntrusiveRefCntPtr<CompilerInvocation> Invocation
    [all...]
Utils.h 19 #include "llvm/ADT/IntrusiveRefCntPtr.h"
173 IntrusiveRefCntPtr<ExternalSemaSource>
175 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
185 IntrusiveRefCntPtr<DiagnosticsEngine>());
  /external/clang/unittests/Tooling/
RewriterTestContext.h 39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs),
114 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
117 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem;
118 IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem;
  /external/clang/include/clang/Rewrite/Core/
RewriteRope.h 17 #include "llvm/ADT/IntrusiveRefCntPtr.h"
60 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
66 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start,
170 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
  /external/clang/lib/Frontend/
ChainedIncludesSource.cpp 35 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
115 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource(
116 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) {
121 IntrusiveRefCntPtr<ChainedIncludesSource> source(new ChainedIncludesSource());
146 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
147 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
164 ArrayRef<llvm::IntrusiveRefCntPtr<ModuleFileExtension>> Extensions;
189 IntrusiveRefCntPtr<ASTReader> Reader;
ASTMerge.cpp 40 IntrusiveRefCntPtr<DiagnosticIDs>
43 IntrusiveRefCntPtr<DiagnosticsEngine>
  /external/clang/tools/driver/
cc1_main.cpp 69 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
89 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  /external/clang/lib/ARCMigrate/
ARCMT.cpp 181 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
182 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
222 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
223 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
262 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
263 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
371 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
372 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
408 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
409 IntrusiveRefCntPtr<DiagnosticsEngine> Diags
    [all...]
  /external/clang/tools/arcmt-test/
arcmt-test.cpp 109 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
112 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
113 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
154 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
157 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
158 IntrusiveRefCntPtr<DiagnosticsEngine> TopDiags(
  /external/clang/unittests/Lex/
PPCallbacksTest.cpp 122 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem;
124 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
125 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
130 IntrusiveRefCntPtr<TargetInfo> Target;
165 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions();
170 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions();

Completed in 1051 milliseconds

1 2 3 4