HomeSort by relevance Sort by last modified time
    Searched refs:IntrusiveRefCntPtr (Results 1 - 25 of 84) 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
32 class IntrusiveRefCntPtr;
38 /// typically handled with IntrusiveRefCntPtr "smart pointers" (see below)
98 /// \c IntrusiveRefCntPtr "smart pointers" which automatically handle the
119 /// IntrusiveRefCntPtr - A template class that implements a "smart pointer"
136 class IntrusiveRefCntPtr {
142 explicit IntrusiveRefCntPtr() : Obj(nullptr) {}
144 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/Basic/
VirtualFileSystemTest.cpp 121 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
161 IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
165 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D));
179 IntrusiveRefCntPtr<DummyFileSystem> Base(new DummyFileSystem());
180 IntrusiveRefCntPtr<DummyFileSystem> Middle(new DummyFileSystem());
181 IntrusiveRefCntPtr<DummyFileSystem> Top(new DummyFileSystem());
182 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(
218 IntrusiveRefCntPtr<DummyFileSystem> Lower(new DummyFileSystem());
219 IntrusiveRefCntPtr<DummyFileSystem> Upper(new DummyFileSystem());
220 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O
    [all...]
  /external/clang/include/clang/Basic/
LLVM.h 42 template <typename T> class IntrusiveRefCntPtr;
73 using llvm::IntrusiveRefCntPtr;
VirtualFileSystem.h 17 #include "llvm/ADT/IntrusiveRefCntPtr.h"
210 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
223 typedef SmallVector<IntrusiveRefCntPtr<FileSystem>, 1> FileSystemList;
229 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
231 void pushOverlay(IntrusiveRefCntPtr<FileSystem> FS);
255 IntrusiveRefCntPtr<FileSystem>
259 IntrusiveRefCntPtr<FileSystem> ExternalFS = getRealFileSystem());
FileManager.h 22 #include "llvm/ADT/IntrusiveRefCntPtr.h"
124 IntrusiveRefCntPtr<vfs::FileSystem> FS;
183 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
230 IntrusiveRefCntPtr<vfs::FileSystem> getVirtualFileSystem() const {
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramState_Fwd.h 14 #include "llvm/ADT/IntrusiveRefCntPtr.h"
38 typedef IntrusiveRefCntPtr<const ProgramState> ProgramStateRef;
  /external/clang/tools/diagtool/
ShowEnabledWarnings.cpp 56 static IntrusiveRefCntPtr<DiagnosticsEngine>
58 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs());
63 IntrusiveRefCntPtr<DiagnosticsEngine> InterimDiags(
74 IntrusiveRefCntPtr<DiagnosticsEngine> FinalDiags =
103 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = createDiagnostics(argc, argv);
  /external/clang/include/clang/Frontend/
CompilerInstance.h 20 #include "llvm/ADT/IntrusiveRefCntPtr.h"
70 IntrusiveRefCntPtr<CompilerInvocation> Invocation;
73 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
76 IntrusiveRefCntPtr<TargetInfo> Target;
79 IntrusiveRefCntPtr<vfs::FileSystem> VirtualFileSystem;
82 IntrusiveRefCntPtr<FileManager> FileMgr;
85 IntrusiveRefCntPtr<SourceManager> SourceMgr;
88 IntrusiveRefCntPtr<Preprocessor> PP;
91 IntrusiveRefCntPtr<ASTContext> Context;
106 IntrusiveRefCntPtr<ASTReader> ModuleManager
    [all...]
ASTUnit.h 29 #include "llvm/ADT/IntrusiveRefCntPtr.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
    [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;
LogDiagnosticPrinter.h 48 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
Utils.h 19 #include "llvm/ADT/IntrusiveRefCntPtr.h"
168 IntrusiveRefCntPtr<ExternalSemaSource>
170 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
179 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
180 IntrusiveRefCntPtr<DiagnosticsEngine>());
  /external/clang/lib/Index/
SimpleFormatContext.h 66 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
67 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics;
  /external/clang/lib/Frontend/
ASTMerge.cpp 40 IntrusiveRefCntPtr<DiagnosticIDs>
43 IntrusiveRefCntPtr<DiagnosticsEngine>
ChainedIncludesSource.cpp 35 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
112 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource(
113 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) {
118 IntrusiveRefCntPtr<ChainedIncludesSource> source(new ChainedIncludesSource());
143 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
144 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
185 IntrusiveRefCntPtr<ASTReader> Reader;
  /external/clang/tools/driver/
cc1_main.cpp 69 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
84 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
  /external/clang/lib/ARCMigrate/
ARCMT.cpp 177 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
178 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
218 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
219 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
257 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
258 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
366 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
367 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
403 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
404 IntrusiveRefCntPtr<DiagnosticsEngine> Diags
    [all...]
  /external/clang/unittests/Lex/
PPCallbacksTest.cpp 129 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
130 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
135 IntrusiveRefCntPtr<TargetInfo> Target;
168 IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions();
173 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions();
PPConditionalDirectiveRecordTest.cpp 46 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
51 IntrusiveRefCntPtr<TargetInfo> Target;
  /external/clang/tools/arcmt-test/
arcmt-test.cpp 108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
111 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
112 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
152 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
155 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
156 IntrusiveRefCntPtr<DiagnosticsEngine> TopDiags(
  /external/clang/unittests/Tooling/
RewriterTestContext.h 39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs),
108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
  /external/clang/unittests/AST/
ExternalASTSourceTest.cpp 43 IntrusiveRefCntPtr<ExternalASTSource> Source;
  /external/clang/examples/clang-interpreter/
main.cpp 72 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
76 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());

Completed in 451 milliseconds

1 2 3 4