Skip to content

Commit 5a7b49f

Browse files
mergify[bot]InvincibleRMCcaguero
authored
Fix Spelling Errors (backport #152) (#155)
* Fix spelling errors (#152) Co-authored-by: Michael Carlstrom <rmc@carlstrom.com> Co-authored-by: Carlos Agüero <caguero@openrobotics.org>
1 parent f60ea3f commit 5a7b49f

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

Migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Note on deprecations
1+
# Note on deprecation
22
A tick-tock release cycle allows easy migration to new software versions.
33
Obsolete code is marked as deprecated for one major release.
44
Deprecated code produces compile-time warnings. These warning serve as

cmake/run_test.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ execute_process(COMMAND ruby ${IGN_SCRIPT}
44
OUTPUT_VARIABLE TEST_OUTPUT
55
ERROR_VARIABLE TEST_ERROR)
66

7-
# Copy failure result everytime we run test so we don't accidentally use
7+
# Copy failure result every time we run test so we don't accidentally use
88
# previous results.
99
execute_process(COMMAND
1010
${CMAKE_COMMAND} -E copy

etc/ign.bash_completion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function _ign
2929

3030
# Look for the first command that is not an option (-*)
3131
# COMP_WORDS: array of words in current command line COMP_LINE
32-
# COMP_CWORD: index of word containing current cursur location
32+
# COMP_CWORD: index of word containing current cursor location
3333
# COMP_LINE: line entered so far
3434
for ((i=1; $i<=$COMP_CWORD; i++)); do
3535
if [[ ${COMP_WORDS[i]} != -* ]]; then

src/Backward/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ following libraries:
104104

105105
Unwind comes from libgcc, but there is an equivalent inside clang itself. With
106106
unwind, the stacktrace is as accurate as it can possibly be, since this is
107-
used by the C++ runtine in gcc/clang for stack unwinding on exception.
107+
used by the C++ runtime in gcc/clang for stack unwinding on exception.
108108

109109
Normally libgcc is already linked to your program by default.
110110

src/Backward/backward.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
// #define BACKWARD_HAS_UNWIND 1
103103
// - unwind comes from libgcc, but I saw an equivalent inside clang itself.
104104
// - with unwind, the stacktrace is as accurate as it can possibly be, since
105-
// this is used by the C++ runtine in gcc/clang for stack unwinding on
105+
// this is used by the C++ runtime in gcc/clang for stack unwinding on
106106
// exception.
107107
// - normally libgcc is already linked to your program by default.
108108
//
@@ -272,7 +272,7 @@
272272
// #define BACKWARD_HAS_UNWIND 1
273273
// - unwind comes from libgcc, but I saw an equivalent inside clang itself.
274274
// - with unwind, the stacktrace is as accurate as it can possibly be, since
275-
// this is used by the C++ runtine in gcc/clang for stack unwinding on
275+
// this is used by the C++ runtime in gcc/clang for stack unwinding on
276276
// exception.
277277
// - normally libgcc is already linked to your program by default.
278278
//
@@ -713,7 +713,7 @@ struct ResolvedTrace : public Trace {
713713

714714
/*************** STACK TRACE ***************/
715715

716-
// default implemention.
716+
// default implementation.
717717
template <typename TAG> class StackTraceImpl {
718718
public:
719719
size_t size() const { return 0; }
@@ -828,7 +828,7 @@ template <typename F> class Unwinder {
828828
uintptr_t ip = _Unwind_GetIPInfo(ctx, &ip_before_instruction);
829829

830830
if (!ip_before_instruction) {
831-
// calculating 0-1 for unsigned, looks like a possible bug to sanitiziers,
831+
// calculating 0-1 for unsigned, looks like a possible bug to sanitizers,
832832
// so let's do it explicitly:
833833
if (ip == 0) {
834834
ip = std::numeric_limits<uintptr_t>::max(); // set it to 0xffff... (as
@@ -1481,7 +1481,7 @@ class TraceResolverLinuxImpl<trace_resolver_tag::libbfd>
14811481
// this time we get the name of the function where the code is
14821482
// located, instead of the function were the address is
14831483
// located. In short, if the code was inlined, we get the
1484-
// function correspoding to the code. Else we already got in
1484+
// function corresponding to the code. Else we already got in
14851485
// trace.function.
14861486
trace.source.function = demangle(details_selected->funcname);
14871487

0 commit comments

Comments
 (0)