aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-02-21 21:23:43 -0500
committerDylan Baker <dylan@pnwbakers.com>2022-03-01 12:13:24 -0800
commitd39b3300753dca459f300e29fad7d8f74013c721 (patch)
treeb6d0fc539d7fdf8935523692ab712b3317aa4229 /mesonbuild/interpreter/interpreter.py
parent2b04e8c5e5c9e65a50b379ed8101139885c44a89 (diff)
downloadmeson-d39b3300753dca459f300e29fad7d8f74013c721.zip
meson-d39b3300753dca459f300e29fad7d8f74013c721.tar.gz
meson-d39b3300753dca459f300e29fad7d8f74013c721.tar.bz2
clean up FeatureCheck signature to move location to use time
The point of a .use() function is because we don't always have the information we need to use a feature check, so we allow creating the feature and then storing it for later use. When implementing location checks, although it is optional, actually using it violated that design. Move the location out of the init method for FeatureCheck itself. It remains compatible with all cases of .single_use(), but fix the rest up.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
0 files changed, 0 insertions, 0 deletions