all: Prune trailing whitespace.

Prune trailing whitespace across the whole project (almost), done
automatically with:

    grep -IUrl --color "[[:blank:]]$" --exclude-dir=.git --exclude=*.exp |\
        xargs sed -i 's/[[:space:]]*$//'

Exceptions:
- Skip third-party code in lib/ and drivers/cc3100/
- Skip generated code in bluetooth_init_cc2564C_1.5.c
- Preserve command output whitespace in docs, eg:
  docs/esp8266/tutorial/repl.rst

Signed-off-by: Phil Howard <phil@gadgetoid.com>
This commit is contained in:
Phil Howard
2024-02-29 00:27:06 +00:00
committed by Damien George
parent decf8e6a8b
commit dda9b9c6da
53 changed files with 386 additions and 386 deletions

View File

@@ -3,7 +3,7 @@ print(0 | (1 << 80))
a = 0xfffffffffffffffffffffffffffff
print(a | (1 << 200))
# test + +
# test + +
print(0 | (1 << 80))
print((1 << 80) | (1 << 80))
@@ -15,7 +15,7 @@ print(a | (1 << 200))
print(a | a == 0)
print(bool(a | a))
# test - +
# test - +
print((-1 << 80) | (1 << 80))
print((-1 << 80) | 0)
@@ -25,7 +25,7 @@ print((-a) | (1 << 200))
print((-a) | a == 0)
print(bool((-a) | a))
# test + -
# test + -
print(0 | (-1 << 80))
print((1 << 80) | (-1 << 80))
@@ -35,7 +35,7 @@ print(a | (-1 << 200))
print(a | (-a) == 0)
print(bool(a | (-a)))
# test - -
# test - -
print((-1 << 80) | (-1 << 80))