@@ -124,38 +124,44 @@ void ValueMatcher::DescribeNegationTo(std::ostream *os) const {
124124 *os << " value does not match" ;
125125}
126126
127- testing::Matcher<Value> lldb_private::MatchScalarValue (Value::ValueType value_type,
128- const Scalar &expected_scalar,
129- Value::ContextType context_type) {
127+ testing::Matcher<Value>
128+ lldb_private::MatchScalarValue (Value::ValueType value_type,
129+ const Scalar &expected_scalar,
130+ Value::ContextType context_type) {
130131 return ValueMatcher (value_type, expected_scalar, context_type);
131132}
132133
133- testing::Matcher<Value> lldb_private::MatchHostValue (Value::ValueType value_type,
134- const std::vector<uint8_t > &expected_bytes,
135- Value::ContextType context_type) {
134+ testing::Matcher<Value>
135+ lldb_private::MatchHostValue (Value::ValueType value_type,
136+ const std::vector<uint8_t > &expected_bytes,
137+ Value::ContextType context_type) {
136138 return ValueMatcher (value_type, expected_bytes, context_type);
137139}
138140
139- testing::Matcher<Value> lldb_private::IsScalar (const Scalar &expected_scalar,
140- Value::ContextType context_type) {
141+ testing::Matcher<Value>
142+ lldb_private::IsScalar (const Scalar &expected_scalar,
143+ Value::ContextType context_type) {
141144 return MatchScalarValue (Value::ValueType::Scalar, expected_scalar,
142145 context_type);
143146}
144147
145- testing::Matcher<Value> lldb_private::IsLoadAddress (const Scalar &expected_address,
146- Value::ContextType context_type) {
148+ testing::Matcher<Value>
149+ lldb_private::IsLoadAddress (const Scalar &expected_address,
150+ Value::ContextType context_type) {
147151 return MatchScalarValue (Value::ValueType::LoadAddress, expected_address,
148152 context_type);
149153}
150154
151- testing::Matcher<Value> lldb_private::IsFileAddress (const Scalar &expected_address,
152- Value::ContextType context_type) {
155+ testing::Matcher<Value>
156+ lldb_private::IsFileAddress (const Scalar &expected_address,
157+ Value::ContextType context_type) {
153158 return MatchScalarValue (Value::ValueType::FileAddress, expected_address,
154159 context_type);
155160}
156161
157- testing::Matcher<Value> lldb_private::IsHostValue (const std::vector<uint8_t > &expected_bytes,
158- Value::ContextType context_type) {
162+ testing::Matcher<Value>
163+ lldb_private::IsHostValue (const std::vector<uint8_t > &expected_bytes,
164+ Value::ContextType context_type) {
159165 return MatchHostValue (Value::ValueType::HostAddress, expected_bytes,
160166 context_type);
161167}
@@ -167,30 +173,31 @@ Scalar lldb_private::GetScalar(unsigned bits, uint64_t value, bool sign) {
167173}
168174
169175llvm::detail::ValueMatchesPoly<testing::Matcher<Value>>
170- lldb_private::ExpectScalar (const Scalar &expected_scalar, Value::ContextType context_type) {
176+ lldb_private::ExpectScalar (const Scalar &expected_scalar,
177+ Value::ContextType context_type) {
171178 return llvm::HasValue (IsScalar (expected_scalar, context_type));
172179}
173180
174181llvm::detail::ValueMatchesPoly<testing::Matcher<Value>>
175182lldb_private::ExpectScalar (unsigned bits, uint64_t value, bool sign,
176- Value::ContextType context_type) {
183+ Value::ContextType context_type) {
177184 return ExpectScalar (GetScalar (bits, value, sign), context_type);
178185}
179186
180187llvm::detail::ValueMatchesPoly<testing::Matcher<Value>>
181188lldb_private::ExpectLoadAddress (const Scalar &expected_address,
182- Value::ContextType context_type) {
189+ Value::ContextType context_type) {
183190 return llvm::HasValue (IsLoadAddress (expected_address, context_type));
184191}
185192
186193llvm::detail::ValueMatchesPoly<testing::Matcher<Value>>
187194lldb_private::ExpectFileAddress (const Scalar &expected_address,
188- Value::ContextType context_type) {
195+ Value::ContextType context_type) {
189196 return llvm::HasValue (IsFileAddress (expected_address, context_type));
190197}
191198
192199llvm::detail::ValueMatchesPoly<testing::Matcher<Value>>
193200lldb_private::ExpectHostAddress (const std::vector<uint8_t > &expected_bytes,
194- Value::ContextType context_type) {
201+ Value::ContextType context_type) {
195202 return llvm::HasValue (IsHostValue (expected_bytes, context_type));
196203}
0 commit comments