Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DPartialDiagnostic.h55 if (Other.DiagStorage) { in PartialDiagnostic()
57 *DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
80 DiagStorage = Other.DiagStorage; in PartialDiagnostic()
89 if (Other.DiagStorage) in PartialDiagnostic()
90 *this->DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
115 if (Other.DiagStorage) {
116 if (!DiagStorage)
119 *DiagStorage = *Other.DiagStorage;
131 DiagStorage = Other.DiagStorage;
140 std::swap(DiagStorage, PD.DiagStorage); in swap()
[all …]
H A DDiagnostic.h1151 if (DiagStorage) in getStorage()
1156 return DiagStorage; in getStorage()
1160 if (!DiagStorage) in freeStorage()
1180 if (!DiagStorage) in AddTaggedVal()
1185 DiagStorage->DiagArgumentsKind[DiagStorage->NumDiagArgs] = Kind; in AddTaggedVal()
1186 DiagStorage->DiagArgumentsVal[DiagStorage->NumDiagArgs++] = V; in AddTaggedVal()
1190 if (!DiagStorage) in AddString()
1195 DiagStorage->DiagArgumentsKind[DiagStorage->NumDiagArgs] = in AddString()
1201 if (!DiagStorage) in AddSourceRange()
1211 if (!DiagStorage) in AddFixItHint()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Basic/
H A 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1986 DiagnosticStorage *DiagStorage = nullptr; in Create() local
1988 DiagStorage = new (C) DiagnosticStorage; in Create()
1990 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()