Home
last modified time | relevance | path

Searched refs:DiagStorage (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/Basic/
DPartialDiagnostic.h120 mutable Storage *DiagStorage; variable
127 if (DiagStorage) in getStorage()
128 return DiagStorage; in getStorage()
131 DiagStorage = Allocator->Allocate(); in getStorage()
134 DiagStorage = new Storage; in getStorage()
136 return DiagStorage; in getStorage()
140 if (!DiagStorage) in freeStorage()
154 Allocator->Deallocate(DiagStorage); in freeStorageSlow()
156 delete DiagStorage; in freeStorageSlow() local
157 DiagStorage = nullptr; in freeStorageSlow()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DPartialDiagnostic.h55 if (Other.DiagStorage) { in PartialDiagnostic()
56 DiagStorage = getStorage(); in PartialDiagnostic()
57 *DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
80 DiagStorage = Other.DiagStorage; in PartialDiagnostic()
81 Other.DiagStorage = nullptr; in PartialDiagnostic()
88 DiagStorage = DiagStorage_; in PartialDiagnostic()
89 if (Other.DiagStorage) in PartialDiagnostic()
90 *this->DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
115 if (Other.DiagStorage) {
116 if (!DiagStorage)
[all …]
DDiagnostic.h972 DiagnosticStorage DiagStorage; variable
1104 mutable DiagnosticStorage *DiagStorage = nullptr;
1112 if (DiagStorage) in getStorage()
1113 return DiagStorage; in getStorage()
1116 DiagStorage = Allocator->Allocate(); in getStorage()
1117 return DiagStorage; in getStorage()
1121 if (!DiagStorage) in freeStorage()
1136 Allocator->Deallocate(DiagStorage); in freeStorageSlow()
1137 DiagStorage = nullptr; in freeStorageSlow()
1141 if (!DiagStorage) in AddTaggedVal()
[all …]
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRefactoringRuleContext.h58 return DiagnosticError::create(Loc, PartialDiagnostic(DiagID, DiagStorage)); in createDiagnosticError()
80 PartialDiagnostic::DiagStorageAllocator DiagStorage; variable
/external/llvm-project/clang/lib/Basic/
DDiagnostic.cpp491 DiagStorage.NumDiagArgs = 0; in Report()
493 DiagStorage.DiagRanges.clear(); in Report()
494 DiagStorage.DiagRanges.append(storedDiag.range_begin(), in Report()
497 DiagStorage.FixItHints.clear(); in Report()
498 DiagStorage.FixItHints.append(storedDiag.fixit_begin(), in Report()
/external/clang/lib/AST/
DDeclBase.cpp1752 PartialDiagnostic::Storage *DiagStorage = nullptr; in Create() local
1754 DiagStorage = new (C) PartialDiagnostic::Storage; in Create()
1756 DependentDiagnostic *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp2031 DiagnosticStorage *DiagStorage = nullptr; in Create() local
2033 DiagStorage = new (C) DiagnosticStorage; in Create()
2035 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()