aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-07-08 09:46:56 -0700
committerEli Schwartz <eschwartz93@gmail.com>2023-01-03 14:49:02 -0500
commit900677cdb26f9dbd0d7d119af49e9066bf26f195 (patch)
tree5a2a403d30844559160b5e7e575ea9729f39c341 /mesonbuild/compilers/cpp.py
parentd9dc5a7f74d492d057a808f7f18133e3b8235ba5 (diff)
downloadmeson-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