summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-build-py/tests/unit/test_clang.py
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-03-01 12:43:39 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-03-01 12:43:39 +0000
commitd49e75afbdad10e86ef5bfb6d53b86e2f7c63e50 (patch)
treea485d726e2dd09f22774afd1a91ba7563870676b /clang/tools/scan-build-py/tests/unit/test_clang.py
parentb068b037937d6088255562858ee82381bb1de424 (diff)
downloadbcm5719-llvm-d49e75afbdad10e86ef5bfb6d53b86e2f7c63e50.tar.gz
bcm5719-llvm-d49e75afbdad10e86ef5bfb6d53b86e2f7c63e50.zip
Revert "[analyzer] Support for naive cross translation unit analysis"
Also revert "[analyzer] Fix a compiler warning" This reverts commits r326323 and r326324. Reason: the commits introduced a cyclic dependency in the build graph. This happens to work with cmake, but breaks out internal integrate. llvm-svn: 326432
Diffstat (limited to 'clang/tools/scan-build-py/tests/unit/test_clang.py')
-rw-r--r--clang/tools/scan-build-py/tests/unit/test_clang.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/tools/scan-build-py/tests/unit/test_clang.py b/clang/tools/scan-build-py/tests/unit/test_clang.py
index 07ac4d9fb80..eef8c26bbd1 100644
--- a/clang/tools/scan-build-py/tests/unit/test_clang.py
+++ b/clang/tools/scan-build-py/tests/unit/test_clang.py
@@ -92,15 +92,3 @@ class ClangGetCheckersTest(unittest.TestCase):
self.assertEqual('Checker One description', result.get('checker.one'))
self.assertTrue('checker.two' in result)
self.assertEqual('Checker Two description', result.get('checker.two'))
-
-
-class ClangIsCtuCapableTest(unittest.TestCase):
- def test_ctu_not_found(self):
- is_ctu = sut.is_ctu_capable('not-found-clang-func-mapping')
- self.assertFalse(is_ctu)
-
-
-class ClangGetTripleArchTest(unittest.TestCase):
- def test_arch_is_not_empty(self):
- arch = sut.get_triple_arch(['clang', '-E', '-'], '.')
- self.assertTrue(len(arch) > 0)
OpenPOWER on IntegriCloud