Skip to content

Commit 81313c1

Browse files
committed
Remove trailing whitespaces
using trailing_whitespace_remover.sh
1 parent 3199fc9 commit 81313c1

File tree

217 files changed

+9170
-9171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+9170
-9171
lines changed

ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Current Trunk
2828
------------------
2929
- `emscripten/vr.h` and other remnants of WebVR support removed. (#13210, which
3030
is a followup to #10460)
31-
- Stop overriding CMake default flags based on build type. This will
31+
- Stop overriding CMake default flags based on build type. This will
3232
result in builds that are more like CMake does on other platforms. You
3333
may notice that `RelWithDebInfo` will now include debug info (it did not
3434
before, which appears to have been an error), and that `Release` will
@@ -216,7 +216,7 @@ Current Trunk
216216
is encountered. This makes the Emscripten program behave more like a native
217217
program where the OS would terminate the process and no further code can be
218218
executed when an unhandled exception (e.g. out-of-bounds memory access) happens.
219-
Once the program aborts any exported function calls will fail with a "program
219+
Once the program aborts any exported function calls will fail with a "program
220220
has already aborted" exception to prevent calls into code with a potentially
221221
corrupted program state.
222222
- Use `__indirect_function_table` as the import name for the table, which is

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ the following conditions:
5757
Neither the names of Mozilla,
5858
nor the names of its contributors may be used to endorse
5959
or promote products derived from this Software without specific prior
60-
written permission.
60+
written permission.
6161

6262
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6363
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF

docs/packaging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ linux distributions, or other downstream SDKs.
66

77
Firstly, we provide an install script in `tools/install.py`. This allows
88
just the end-user parts of emscripten to be installed. For example this avoids
9-
including the `tests/third_party` directory which is of that biggest parts
9+
including the `tests/third_party` directory which is of that biggest parts
1010
of the source tree.
1111

1212
If you prefer, you can use `make install` or `make dist` which invokes

site/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969

7070
#Build "Todo" notes into the source
71-
#todo_include_todos = 'True'
71+
#todo_include_todos = 'True'
7272

7373
# Add any paths that contain templates here, relative to this directory.
7474
templates_path = ['_templates']

site/source/docs/api_reference/Filesystem-API.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -766,12 +766,12 @@ Paths
766766
.. js:function:: FS.analyzePath(path, dontResolveLastLink)
767767

768768
Looks up the incoming path and returns an object containing information about
769-
file stats and nodes. Built on top of ``FS.lookupPath`` and provides more
770-
information about given path and its parent. If any error occurs it won't
769+
file stats and nodes. Built on top of ``FS.lookupPath`` and provides more
770+
information about given path and its parent. If any error occurs it won't
771771
throw but returns an ``error`` property.
772772

773773
:param string path: The incoming path.
774-
:param boolean dontResolveLastLink: If true, don't follow the last component
774+
:param boolean dontResolveLastLink: If true, don't follow the last component
775775
if it is a symlink.
776776

777777
:returns: an object with the format:
@@ -780,13 +780,13 @@ Paths
780780
781781
{
782782
isRoot: boolean,
783-
exists: boolean,
784-
error: Error,
785-
name: string,
786-
path: resolved_path,
783+
exists: boolean,
784+
error: Error,
785+
name: string,
786+
path: resolved_path,
787787
object: resolved_node,
788-
parentExists: boolean,
789-
parentPath: resolved_parent_path,
788+
parentExists: boolean,
789+
parentPath: resolved_parent_path,
790790
parentObject: resolved_parent_node
791791
}
792792

site/source/docs/building_from_source/configuring_emscripten_settings.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Creating the compiler configuration file
1818
The settings file is created the first time a user runs :ref:`emcc <emccdoc>` (or any of the other Emscripten tools):
1919

2020
1. Navigate to the directory where you cloned the Emscripten repository.
21-
2. Enter the command:
21+
2. Enter the command:
2222

2323
::
24-
24+
2525
./emcc --help
2626

2727
You should get a ``Welcome to Emscripten!`` message. Behind the scenes, Emscripten generates a file called ``.emscripten`` in your home folder.
28-
29-
28+
29+
3030
Emscripten makes a "best guess" at the correct locations for tools and updates the file appropriately. Where possible it will look for "system" apps (like Python and Java).
3131

3232
In most cases it is necessary to edit the generated file and modify at least the
@@ -57,28 +57,28 @@ Compiler configuration file-format
5757
The file simply assigns paths to a number of *variables* representing the main tools used by Emscripten. For example, if the user installed python to the **C:/Python27/** directory, then the file might have the line: ::
5858

5959
PYTHON = 'C:\\Python38\\python.exe'
60-
60+
6161

6262
The default *emcc* configuration file often gets the paths from environment variables if defined. If no variable is defined the system will also attempt to find "system executables". For example: ::
6363

6464
PYTHON = os.path.expanduser(os.getenv('PYTHON', 'C:\\Python38\\python.exe'))
6565

66-
You can find out the other variable names from the default *.emscripten* file or the :ref:`example here <compiler-configuration-file>`.
66+
You can find out the other variable names from the default *.emscripten* file or the :ref:`example here <compiler-configuration-file>`.
6767

6868
Editing the compiler configuration file
6969
=======================================
7070

7171
The compiler configuration file can be edited with the text editor of your choice. As stated above, most default settings are likely to be correct. If you're building manually from source, you are most likely to have to update the variable ``LLVM_ROOT``
7272

73-
73+
7474
#. Edit the variable ``LLVM_ROOT`` to point to the directory where you built the LLVM binaries, such as:
75-
75+
7676
::
77-
77+
7878
LLVM_ROOT = os.path.expanduser(os.getenv('LLVM', '/home/ubuntu/a-path/llvm/build/bin'))
7979

8080
.. note:: Use forward slashes!
8181

8282
.. comment .. The settings are now correct in the configuration file, but the paths and environment variables are not set in the command prompt/terminal. **HamishW** Follow up with Jukka on this.
83-
83+
8484
After setting those paths, run ``emcc`` again. It should again perform the sanity checks to test the specified paths. There are further validation tests available at :ref:`verifying-the-emscripten-environment`.

site/source/docs/compiling/Building-Projects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ The :ref:`Tutorial` showed how :ref:`emcc <emccdoc>` can be used to compile sing
304304
./emcc src1.o src2.o -r -o combined.o
305305

306306
# Combine two object files into library file
307-
./emar rcs libfoo.a src1.o src2.o
307+
./emar rcs libfoo.a src1.o src2.o
308308

309309

310310
In addition to the capabilities it shares with *gcc*, *emcc* supports options to optimize code, control what debug information is emitted, generate HTML and other output formats, etc. These options are documented in the :ref:`emcc tool reference <emccdoc>` (``./emcc --help`` on the command line).

site/source/docs/contributing/developers_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ binaries with a checkout of the core Emscripten repository, simply by calling
3030
``emcc.py`` from that checkout, and it will use the binaries from the emsdk.
3131

3232
If you do want to contribute to LLVM or Binaryen, or to test modifications
33-
to them, you can
33+
to them, you can
3434
:ref:`build them from source <installing-from-source>`.
3535

3636
Repositories and branches of interest

site/source/docs/getting_started/FAQ.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ strings, so it accepts ``[a]`` or ``[a,b]`` etc.).
483483

484484

485485
Why do I get a Python ``SyntaxError: invalid syntax`` on ``file=..`` or on a string starting with ``f'..'``?
486-
============================================================================================================
486+
============================================================================================================
487487

488488
Emscripten requires a recent-enough version of Python. An older Python version,
489489
like ``2.*``, will not support the print statement by default, so it will error on

site/source/docs/getting_started/downloads.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ There are also "tip-of-tree builds", which are the very latest code that passes
7070

7171
::
7272

73-
# Get a tip-of-tree
73+
# Get a tip-of-tree
7474
./emsdk install tot
7575

7676
(In the above examples we installed the various targets; remember to also ``activate`` them as in the full example from earlier.)

0 commit comments

Comments
 (0)