diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-12-05 08:37:11 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-05 22:15:40 +0200 |
commit | 875ef354d02b76515188b86dc607da39ba779235 (patch) | |
tree | f0c45dca363621ae6f780892b1f0db32c10b29cc /mesonbuild/linkers.py | |
parent | 5b97767ea85d76ea08e66e9b81da21783322f6ff (diff) | |
download | meson-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