Searched refs:DiagStorage (Results 1 – 5 of 5) sorted by relevance
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 …]
1011 DiagnosticStorage DiagStorage; variable1143 mutable DiagnosticStorage *DiagStorage = nullptr;1151 if (DiagStorage) in getStorage()1152 return DiagStorage; in getStorage()1155 DiagStorage = Allocator->Allocate(); in getStorage()1156 return DiagStorage; in getStorage()1160 if (!DiagStorage) in freeStorage()1175 Allocator->Deallocate(DiagStorage); in freeStorageSlow()1176 DiagStorage = nullptr; in freeStorageSlow()1180 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()
1977 DiagnosticStorage *DiagStorage = nullptr; in Create() local1979 DiagStorage = new (C) DiagnosticStorage; in Create()1981 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()