diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-08 09:46:56 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-01-03 14:49:02 -0500 |
commit | 900677cdb26f9dbd0d7d119af49e9066bf26f195 (patch) | |
tree | 5a2a403d30844559160b5e7e575ea9729f39c341 /mesonbuild/compilers/cpp.py | |
parent | d9dc5a7f74d492d057a808f7f18133e3b8235ba5 (diff) | |
download | meson-900677cdb26f9dbd0d7d119af49e9066bf26f195.zip meson-900677cdb26f9dbd0d7d119af49e9066bf26f195.tar.gz meson-900677cdb26f9dbd0d7d119af49e9066bf26f195.tar.bz2 |
mlog: use an enum instead of strings
enum comparisons are ultimately ints, so they're faster, plus they're
exhaustive, so mypy can statically determine that we've passed a valid
value rather than via an assertion at runtime.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions