Run clang-format on the repository

We currently don't have any checks for clang formatting as part of our
check-in process, this is an incremental patch to get things compliant.
This commit is contained in:
Jordan Bayles
2019-06-27 12:01:43 -07:00
parent 879a5b80ce
commit ddc9e0fcd7
2 changed files with 4 additions and 5 deletions

View File

@@ -853,9 +853,9 @@ bool Value::asBool() const {
case uintValue:
return value_.uint_ ? true : false;
case realValue: {
// According to JavaScript language zero or NaN is regarded as false
const auto value_classification = std::fpclassify(value_.real_);
return value_classification != FP_ZERO && value_classification != FP_NAN;
// According to JavaScript language zero or NaN is regarded as false
const auto value_classification = std::fpclassify(value_.real_);
return value_classification != FP_ZERO && value_classification != FP_NAN;
}
default:
break;