aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-12-05 08:37:11 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-05 22:15:40 +0200
commit875ef354d02b76515188b86dc607da39ba779235 (patch)
treef0c45dca363621ae6f780892b1f0db32c10b29cc /mesonbuild/linkers.py
parent5b97767ea85d76ea08e66e9b81da21783322f6ff (diff)
downloadmeson-875ef354d02b76515188b86dc607da39ba779235.zip
meson-875ef354d02b76515188b86dc607da39ba779235.tar.gz
meson-875ef354d02b76515188b86dc607da39ba779235.tar.bz2
compilers: Rework the CompilerArgs to be less awful
There are two awful things about CompilerArgs, one is that it directly inherits from list, and there are a lot of subtle gotcahs with inheriting from builtin types. The second is that the class allows arguments to be passed in whatever order. That's bad. This also fully annotates the CompilerArgs class, so mypy can type check it for us.
Diffstat (limited to 'mesonbuild/linkers.py')
0 files changed, 0 insertions, 0 deletions