Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.h1156 if (DiagStorage) in getStorage()
1161 return DiagStorage; in getStorage()
1165 if (!DiagStorage) in freeStorage()
1185 if (!DiagStorage) in AddTaggedVal()
1190 DiagStorage->DiagArgumentsKind[DiagStorage->NumDiagArgs] = Kind; in AddTaggedVal()
1191 DiagStorage->DiagArgumentsVal[DiagStorage->NumDiagArgs++] = V; in AddTaggedVal()
1195 if (!DiagStorage) in AddString()
1200 DiagStorage->DiagArgumentsKind[DiagStorage->NumDiagArgs] = in AddString()
1206 if (!DiagStorage) in AddSourceRange()
1216 if (!DiagStorage) in AddFixItHint()
[all …]
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h58 return DiagnosticError::create(Loc, PartialDiagnostic(DiagID, DiagStorage)); in createDiagnosticError()
80 PartialDiagnostic::DiagStorageAllocator DiagStorage; variable
/llvm-project-15.0.7/clang/lib/Basic/
H A DDiagnostic.cpp508 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()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp2014 DiagnosticStorage *DiagStorage = nullptr; in Create() local
2016 DiagStorage = new (C) DiagnosticStorage; in Create()
2018 auto *DD = new (C) DependentDiagnostic(PDiag, DiagStorage); in Create()