Fix misleading indentation and enable -Wmisleading-indentation (#1458)

Signed-off-by: Stuart Brady <stuart.brady@arm.com>
This commit is contained in:
Stuart Brady
2022-08-02 18:16:03 +01:00
committed by GitHub
parent bd03e17a56
commit cdf5a105fc
13 changed files with 72 additions and 75 deletions

View File

@@ -117,8 +117,7 @@ CheckF(cl_uint jid, cl_uint tid, void *userInfo)
return 0;
for (j = 0; j < count; j++) {
if (s[j] == r[j])
continue;
if (s[j] == r[j]) continue;
// Pass any NaNs
if ((s[j] & 0x7fff) > 0x7c00 && (r[j] & 0x7fff) > 0x7c00 )
@@ -189,8 +188,7 @@ CheckD(cl_uint jid, cl_uint tid, void *userInfo)
return 0;
for (j = 0; j < count; j++) {
if (s[j] == r[j])
continue;
if (s[j] == r[j]) continue;
// Pass any NaNs
if ((s[j] & 0x7fff) > 0x7c00 && (r[j] & 0x7fff) > 0x7c00)