Followon to PR #4348: more bool fixes
commitcb4d8c9016441047758c8b1f0c0f9ef945d48873
authorMats Wichmann <mats@linux.com>
Tue, 23 May 2023 16:08:09 +0000 (23 10:08 -0600)
committerMats Wichmann <mats@linux.com>
Fri, 16 Jun 2023 15:52:15 +0000 (16 09:52 -0600)
tree0a5fe2b1e3f9d0db5dd189f1f33910b9fcb125c5
parent37b85e308bf090f376b74b9098ba76de35486574
Followon to PR #4348: more bool fixes

Manually fixed up some things related to bool, e.g. simple functions which
just did "return 1" were interpreted by the tool as returning int, when
bool was really the intent.  Functions/methods named like "is*", "has*",
"exists", "rexists" (and others) are now pretty consistently marked as
returning bool.

A couple of minor alignments of branched definitions, and a couple
of docstring adjustments made.  If Tools which had old heading style
were touched, they got the new style.

Signed-off-by: Mats Wichmann <mats@linux.com>
46 files changed:
CHANGES.txt
RELEASE.txt
SCons/ActionTests.py
SCons/Builder.py
SCons/BuilderTests.py
SCons/CacheDir.py
SCons/Debug.py
SCons/Defaults.py
SCons/Environment.py
SCons/ExecutorTests.py
SCons/Node/Alias.py
SCons/Node/FS.py
SCons/Node/NodeTests.py
SCons/Node/Python.py
SCons/Node/__init__.py
SCons/SConf.py
SCons/SConfTests.py
SCons/Scanner/JavaTests.py
SCons/Scanner/ProgTests.py
SCons/Scanner/ScannerTests.py
SCons/Subst.py
SCons/SubstTests.py
SCons/Taskmaster/TaskmasterTests.py
SCons/Tool/DCommon.py
SCons/Tool/JavaCommon.py
SCons/Tool/MSCommon/MSVC/Util.py
SCons/Tool/MSCommon/common.py
SCons/Tool/cxx.py
SCons/Tool/cyglink.py
SCons/Tool/default.py
SCons/Tool/docbook/__init__.py
SCons/Tool/dvi.py
SCons/Tool/filesystem.py
SCons/Tool/install.py
SCons/Tool/javac.py
SCons/Tool/linkCommon/__init__.py
SCons/Tool/msvsTests.py
SCons/Tool/ninja/Utils.py
SCons/Tool/packaging/__init__.py
SCons/Tool/packaging/msi.py
SCons/Tool/packaging/rpm.py
SCons/Tool/pdf.py
SCons/Tool/rmic.py
SCons/Tool/textfile.py
SCons/UtilTests.py
SCons/cppTests.py