Skip to content

Commit 165d555

Browse files
committed
clang-format
1 parent 64920b1 commit 165d555

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/wasm/wasm-s-parser.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,9 @@ SExpressionWasmBuilder::makeLoad(Element& s, Type type, bool isAtomic) {
19861986
Index memIdx = 0;
19871987
// Check to make sure there are more than the default args & this str isn't
19881988
// the mem attributes
1989-
if (s.size() > 2 && !s[i]->isList() && strncmp(s[i]->c_str(), "align", 5) != 0 && strncmp(s[i]->c_str(), "offset", 6) != 0) {
1989+
if (s.size() > 2 && !s[i]->isList() &&
1990+
strncmp(s[i]->c_str(), "align", 5) != 0 &&
1991+
strncmp(s[i]->c_str(), "offset", 6) != 0) {
19901992
memIdx = atoi(s[i++]->c_str());
19911993
}
19921994
auto memory = getMemoryAtIdx(memIdx);
@@ -2324,7 +2326,8 @@ SExpressionWasmBuilder::makeSIMDLoadStoreLane(Element& s,
23242326
Index memIdx = 0;
23252327
// Check to make sure there are more than the default args & this str isn't
23262328
// the mem attributes
2327-
if (s.size() > 4 && !s[i]->isList() && strncmp(s[i]->c_str(), "align", 5) != 0 &&
2329+
if (s.size() > 4 && !s[i]->isList() &&
2330+
strncmp(s[i]->c_str(), "align", 5) != 0 &&
23282331
strncmp(s[i]->c_str(), "offset", 6) != 0) {
23292332
memIdx = atoi(s[i++]->c_str());
23302333
}

0 commit comments

Comments
 (0)