Searched refs:DiagStorage (Results 1 – 7 of 7) sorted by relevance
120 mutable Storage *DiagStorage; variable127 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() local157 DiagStorage = nullptr; in freeStorageSlow()[all …]
55 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 …]
972 DiagnosticStorage DiagStorage; variable1104 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 …]
58 return DiagnosticError::create(Loc, PartialDiagnostic(DiagID, DiagStorage)); in createDiagnosticError()80 PartialDiagnostic::DiagStorageAllocator DiagStorage; variable
491 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()
1752 PartialDiagnostic::Storage *DiagStorage = nullptr; in Create() local1754 DiagStorage = new (C) PartialDiagnostic::Storage; in Create()1756 DependentDiagnostic *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()
2031 DiagnosticStorage *DiagStorage = nullptr; in Create() local2033 DiagStorage = new (C) DiagnosticStorage; in Create()2035 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()