aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorHiPhish <hiphish@posteo.de>2023-04-09 20:00:51 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2023-04-11 17:10:01 +0300
commit439a61affab391d44341ac3113592698abd4143b (patch)
tree6fd31f98446f2aaf7d4f7062f102abbf23f021fb /mesonbuild/backend
parenta912193fd8ed5e673009e879c088aa70b297811a (diff)
downloadmeson-439a61affab391d44341ac3113592698abd4143b.zip
meson-439a61affab391d44341ac3113592698abd4143b.tar.gz
meson-439a61affab391d44341ac3113592698abd4143b.tar.bz2
Change "can not" to "cannot" throughout project
The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/ninjabackend.py4
-rw-r--r--mesonbuild/backend/vs2010backend.py2
-rw-r--r--mesonbuild/backend/xcodebackend.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index e802217..d8b05b1 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -2602,7 +2602,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
# inside it. This can be either the final PDB (for, say,
# foo.exe) or an object pdb (for foo.obj). If the former, then
# each compilation step locks the pdb file for writing, which
- # is a bottleneck and object files from one target can not be
+ # is a bottleneck and object files from one target cannot be
# used in a different target. The latter seems to be the
# sensible one (and what Unix does) but there is a catch. If
# you try to use precompiled headers MSVC will error out
@@ -3123,7 +3123,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
def guess_external_link_dependencies(self, linker, target, commands, internal):
# Ideally the linker would generate dependency information that could be used.
# But that has 2 problems:
- # * currently ld can not create dependency information in a way that ninja can use:
+ # * currently ld cannot create dependency information in a way that ninja can use:
# https://sourceware.org/bugzilla/show_bug.cgi?id=22843
# * Meson optimizes libraries from the same build using the symbol extractor.
# Just letting ninja use ld generated dependencies would undo this optimization.
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 47e19a4..37d0365 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -866,7 +866,7 @@ class Vs2010Backend(backends.Backend):
ofname_tmp = ofname + '~'
tree.write(ofname_tmp, encoding='utf-8', xml_declaration=True)
- # ElementTree can not do prettyprinting so do it manually
+ # ElementTree cannot do pretty-printing, so do it manually
doc = xml.dom.minidom.parse(ofname_tmp)
with open(ofname_tmp, 'w', encoding='utf-8') as of:
of.write(doc.toprettyxml())
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index b5cf83a..523f842 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -1535,7 +1535,7 @@ class XCodeBackend(backends.Backend):
# add the root build dir to the search path. So add an absolute path instead.
# This may break reproducible builds, in which case patches are welcome.
lang_cargs += self.get_custom_target_dir_include_args(target, compiler, absolute_path=True)
- # Xcode can not handle separate compilation flags for C and ObjectiveC. They are both
+ # Xcode cannot handle separate compilation flags for C and ObjectiveC. They are both
# put in OTHER_CFLAGS. Same with C++ and ObjectiveC++.
if lang == 'objc':
lang = 'c'