Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DPartialDiagnostic.h52 if (Other.DiagStorage) { in PartialDiagnostic()
54 *DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
77 DiagStorage = Other.DiagStorage; in PartialDiagnostic()
86 if (Other.DiagStorage) in PartialDiagnostic()
87 *this->DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
112 if (Other.DiagStorage) {
113 if (!DiagStorage)
116 *DiagStorage = *Other.DiagStorage;
128 DiagStorage = Other.DiagStorage;
137 std::swap(DiagStorage, PD.DiagStorage); in swap()
[all …]
H A DDiagnostic.h1161 if (DiagStorage) in getStorage()
1166 return DiagStorage; in getStorage()
1170 if (!DiagStorage) in freeStorage()
1190 if (!DiagStorage) in AddTaggedVal()
1195 DiagStorage->DiagArgumentsKind[DiagStorage->NumDiagArgs] = Kind; in AddTaggedVal()
1196 DiagStorage->DiagArgumentsVal[DiagStorage->NumDiagArgs++] = V; in AddTaggedVal()
1200 if (!DiagStorage) in AddString()
1205 DiagStorage->DiagArgumentsKind[DiagStorage->NumDiagArgs] = in AddString()
1211 if (!DiagStorage) in AddSourceRange()
1221 if (!DiagStorage) in AddFixItHint()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h58 return DiagnosticError::create(Loc, PartialDiagnostic(DiagID, DiagStorage)); in createDiagnosticError()
80 PartialDiagnostic::DiagStorageAllocator DiagStorage; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp504 DiagStorage.NumDiagArgs = 0; in Report()
506 DiagStorage.DiagRanges.clear(); in Report()
507 DiagStorage.DiagRanges.append(storedDiag.range_begin(), in Report()
510 DiagStorage.FixItHints.clear(); in Report()
511 DiagStorage.FixItHints.append(storedDiag.fixit_begin(), in Report()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp2136 DiagnosticStorage *DiagStorage = nullptr; in Create() local
2138 DiagStorage = new (C) DiagnosticStorage; in Create()
2140 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()