summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-03-16 16:49:31 -0700
committerGitHub <noreply@github.com>2018-03-16 16:49:31 -0700
commit3f0c19fad78dd4ce8b4dd5c37cb418253dc18254 (patch)
tree203b0d515e624911badd1fe3fbf80be80328a249 /src/binary-reader-logging.cc
parent142553c3be3d0c5161060ef784d0573c53af63c1 (diff)
downloadwabt-3f0c19fad78dd4ce8b4dd5c37cb418253dc18254.tar.gz
wabt-3f0c19fad78dd4ce8b4dd5c37cb418253dc18254.tar.bz2
wabt-3f0c19fad78dd4ce8b4dd5c37cb418253dc18254.zip
Run clang-format over all the files (#814)
I also fixed some for/if to use braces if I noticed it. This is a non-functional change.
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r--src/binary-reader-logging.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc
index 544666e4..03a17cd6 100644
--- a/src/binary-reader-logging.cc
+++ b/src/binary-reader-logging.cc
@@ -308,8 +308,8 @@ Result BinaryReaderLogging::OnF64ConstExpr(uint64_t value_bits) {
}
Result BinaryReaderLogging::OnV128ConstExpr(v128 value_bits) {
- LOGF("OnV128ConstExpr(0x%08x 0x%08x 0x%08x 0x%08x)\n", value_bits.v[0],\
- value_bits.v[1], value_bits.v[2], value_bits.v[3]);
+ LOGF("OnV128ConstExpr(0x%08x 0x%08x 0x%08x 0x%08x)\n", value_bits.v[0],
+ value_bits.v[1], value_bits.v[2], value_bits.v[3]);
return reader_->OnV128ConstExpr(value_bits);
}
@@ -353,14 +353,14 @@ Result BinaryReaderLogging::OnTryExpr(Index num_types, Type* sig_types) {
return reader_->OnTryExpr(num_types, sig_types);
}
-Result BinaryReaderLogging::OnSimdLaneOpExpr(Opcode opcode, uint64_t value) {
+Result BinaryReaderLogging::OnSimdLaneOpExpr(Opcode opcode, uint64_t value) {
LOGF("OnSimdLaneOpExpr (lane: %" PRIu64 ")\n", value);
return reader_->OnSimdLaneOpExpr(opcode, value);
}
-Result BinaryReaderLogging::OnSimdShuffleOpExpr(Opcode opcode, v128 value) {
+Result BinaryReaderLogging::OnSimdShuffleOpExpr(Opcode opcode, v128 value) {
LOGF("OnSimdShuffleOpExpr (lane: 0x%08x %08x %08x %08x)\n", value.v[0],
- value.v[1], value.v[2], value.v[3]);
+ value.v[1], value.v[2], value.v[3]);
return reader_->OnSimdShuffleOpExpr(opcode, value);
}
@@ -426,9 +426,10 @@ Result BinaryReaderLogging::OnInitExprF64ConstExpr(Index index,
Result BinaryReaderLogging::OnInitExprV128ConstExpr(Index index,
v128 value_bits) {
- LOGF("OnInitExprV128ConstExpr(index: %" PRIindex " value: (\
- 0x%08x 0x%08x 0x%08x 0x%08x))\n", index, value_bits.v[0],\
- value_bits.v[1], value_bits.v[2], value_bits.v[3]);
+ LOGF("OnInitExprV128ConstExpr(index: %" PRIindex
+ " value: ( 0x%08x 0x%08x 0x%08x 0x%08x))\n",
+ index, value_bits.v[0], value_bits.v[1], value_bits.v[2],
+ value_bits.v[3]);
return reader_->OnInitExprV128ConstExpr(index, value_bits);
}