Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
8d475780
Commit
8d475780
authored
Jul 09, 2018
by
Antoine Martin
Committed by
Alexandre Duret-Lutz
Aug 02, 2018
Browse files
* HACKING: typos
parent
8edd0648
Changes
1
Hide whitespace changes
Inline
Side-by-side
HACKING
View file @
8d475780
...
...
@@ -12,9 +12,9 @@ The GIT repository can be cloned with
git clone https://gitlab.lrde.epita.fr/spot/spot.git
Some files in SPOT's source tree are generated. They are distributed
so that users do not need to tools to rebuild them, but we
don't keep
all of them under GIT because it can generate lots of
changes or
conflicts.
so that users do not need to
install
tools to rebuild them, but we
don't keep
all of them under GIT because it can generate lots of
changes or
conflicts.
Here are the tools you need to bootstrap the GIT tree, or more
generally if you plan to regenerate some of the generated files.
...
...
@@ -613,7 +613,7 @@ SPOT macros
some header file. See "Assertions" above.
* Use SPOT_LIKELY / SPOT_UNLIKELY in case you need to help the
compiler figure out the common
t
output of a test. Do not abuse
compiler figure out the common output of a test. Do not abuse
this without checking the assembly output to make sure the effect
is what you desired.
...
...
@@ -624,7 +624,7 @@ Other style recommandations
Feel free to replace these by uses of C++11's nullptr instead.
* Limit the scope of local variables by defining them as late as
possible. Do not reuse a local variable
s
for two different things.
possible. Do not reuse a local variable for two different things.
* Do not systematically initialize local variables with 0 or other
meaningless values. This hides errors to valgrind.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment