Lines Matching refs:Other

52   PartialDiagnostic(const PartialDiagnostic &Other)  in PartialDiagnostic()  argument
53 : StreamingDiagnostic(), DiagID(Other.DiagID) { in PartialDiagnostic()
54 Allocator = Other.Allocator; in PartialDiagnostic()
55 if (Other.DiagStorage) { in PartialDiagnostic()
57 *DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
78 PartialDiagnostic(PartialDiagnostic &&Other) : DiagID(Other.DiagID) { in PartialDiagnostic() argument
79 Allocator = Other.Allocator; in PartialDiagnostic()
80 DiagStorage = Other.DiagStorage; in PartialDiagnostic()
81 Other.DiagStorage = nullptr; in PartialDiagnostic()
84 PartialDiagnostic(const PartialDiagnostic &Other, in PartialDiagnostic() argument
86 : DiagID(Other.DiagID) { in PartialDiagnostic()
89 if (Other.DiagStorage) in PartialDiagnostic()
90 *this->DiagStorage = *Other.DiagStorage; in PartialDiagnostic()
93 PartialDiagnostic(const Diagnostic &Other, DiagStorageAllocator &Allocator_) in PartialDiagnostic() argument
94 : DiagID(Other.getID()) { in PartialDiagnostic()
97 for (unsigned I = 0, N = Other.getNumArgs(); I != N; ++I) { in PartialDiagnostic()
98 if (Other.getArgKind(I) == DiagnosticsEngine::ak_std_string) in PartialDiagnostic()
99 AddString(Other.getArgStdStr(I)); in PartialDiagnostic()
101 AddTaggedVal(Other.getRawArg(I), Other.getArgKind(I)); in PartialDiagnostic()
105 for (unsigned I = 0, N = Other.getNumRanges(); I != N; ++I) in PartialDiagnostic()
106 AddSourceRange(Other.getRange(I)); in PartialDiagnostic()
109 for (unsigned I = 0, N = Other.getNumFixItHints(); I != N; ++I) in PartialDiagnostic()
110 AddFixItHint(Other.getFixItHint(I)); in PartialDiagnostic()
113 PartialDiagnostic &operator=(const PartialDiagnostic &Other) {
114 DiagID = Other.DiagID;
115 if (Other.DiagStorage) {
119 *DiagStorage = *Other.DiagStorage;
127 PartialDiagnostic &operator=(PartialDiagnostic &&Other) {
130 DiagID = Other.DiagID;
131 DiagStorage = Other.DiagStorage;
132 Allocator = Other.Allocator;
134 Other.DiagStorage = nullptr;