Searched refs:DiagStorage (Results 1 – 5 of 5) sorted by relevance
52 if (Other.DiagStorage) { in PartialDiagnostic()53 DiagStorage = getStorage(); in PartialDiagnostic()54 *DiagStorage = *Other.DiagStorage; in PartialDiagnostic()77 DiagStorage = Other.DiagStorage; in PartialDiagnostic()78 Other.DiagStorage = nullptr; in PartialDiagnostic()85 DiagStorage = DiagStorage_; in PartialDiagnostic()86 if (Other.DiagStorage) in PartialDiagnostic()87 *this->DiagStorage = *Other.DiagStorage; in PartialDiagnostic()112 if (Other.DiagStorage) {113 if (!DiagStorage)[all …]
1016 DiagnosticStorage DiagStorage; variable1148 mutable DiagnosticStorage *DiagStorage = nullptr;1156 if (DiagStorage) in getStorage()1157 return DiagStorage; in getStorage()1160 DiagStorage = Allocator->Allocate(); in getStorage()1161 return DiagStorage; in getStorage()1165 if (!DiagStorage) in freeStorage()1180 Allocator->Deallocate(DiagStorage); in freeStorageSlow()1181 DiagStorage = nullptr; in freeStorageSlow()1185 if (!DiagStorage) in AddTaggedVal()[all …]
58 return DiagnosticError::create(Loc, PartialDiagnostic(DiagID, DiagStorage)); in createDiagnosticError()80 PartialDiagnostic::DiagStorageAllocator DiagStorage; variable
508 DiagStorage.NumDiagArgs = 0; in Report()510 DiagStorage.DiagRanges.clear(); in Report()511 DiagStorage.DiagRanges.append(storedDiag.range_begin(), in Report()514 DiagStorage.FixItHints.clear(); in Report()515 DiagStorage.FixItHints.append(storedDiag.fixit_begin(), in Report()
2045 DiagnosticStorage *DiagStorage = nullptr; in Create() local2047 DiagStorage = new (C) DiagnosticStorage; in Create()2049 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()