diff options
Diffstat (limited to 'llvm/test/CodeGen/CPP/lit.local.cfg')
| -rw-r--r-- | llvm/test/CodeGen/CPP/lit.local.cfg | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/CPP/lit.local.cfg b/llvm/test/CodeGen/CPP/lit.local.cfg index 96596d85f6e..4d4b4a4a7e2 100644 --- a/llvm/test/CodeGen/CPP/lit.local.cfg +++ b/llvm/test/CodeGen/CPP/lit.local.cfg @@ -1,13 +1,6 @@ config.suffixes = ['.ll', '.c', '.cpp'] -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -targets = set(root.targets_to_build.split()) +targets = set(config.root.targets_to_build.split()) if not 'CppBackend' in targets: config.unsupported = True |

