summaryrefslogtreecommitdiff
path: root/mesonbuild/utils
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-06-29 18:50:31 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-07-11 11:53:39 +0300
commitc2552527fb2f607052c7aed633b67dbb19f06e38 (patch)
treec05f89ce2465f6f01de61617e535919fe6e656de /mesonbuild/utils
parent5c6e9d2d8fa25d62f1d249d265611a6dbbc03a4b (diff)
downloadmeson-c2552527fb2f607052c7aed633b67dbb19f06e38.tar.gz
Move compiler option check into OptionStore.
Diffstat (limited to 'mesonbuild/utils')
-rw-r--r--mesonbuild/utils/universal.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py
index 5f533f237..4db209a73 100644
--- a/mesonbuild/utils/universal.py
+++ b/mesonbuild/utils/universal.py
@@ -2387,10 +2387,6 @@ class OptionKey:
"""Convenience method for key.evolve(machine=MachineChoice.HOST)."""
return self.evolve(machine=MachineChoice.HOST)
- def is_compiler(self) -> bool:
- """Convenience method to check if this is a builtin option."""
- return self.type is OptionType.COMPILER
-
def is_project_hack_for_optionsview(self) -> bool:
"""This method will be removed once we can delete OptionsView."""
return self.type is OptionType.PROJECT