Searched refs:classify_source (Results 1 – 3 of 3) sorted by relevance
/external/clang/tools/scan-build-py/tests/unit/ |
D | test_compilation.py | 112 self.assertIsNone(sut.classify_source('file.o')) 113 self.assertIsNone(sut.classify_source('file.exe')) 114 self.assertIsNone(sut.classify_source('/path/file.o')) 115 self.assertIsNone(sut.classify_source('clang')) 117 self.assertEqual('c', sut.classify_source('file.c')) 118 self.assertEqual('c', sut.classify_source('./file.c')) 119 self.assertEqual('c', sut.classify_source('/path/file.c')) 120 self.assertEqual('c++', sut.classify_source('file.c', False)) 121 self.assertEqual('c++', sut.classify_source('./file.c', False)) 122 self.assertEqual('c++', sut.classify_source('/path/file.c', False))
|
/external/clang/tools/scan-build-py/libscanbuild/ |
D | compilation.py | 95 elif re.match(r'^[^-].+', arg) and classify_source(arg): 104 def classify_source(filename, c_compiler=True): function
|
D | runner.py | 15 from libscanbuild.compilation import classify_source, compiler_language 234 language = classify_source(opts['file'], compiler == 'c') 298 elif re.match(r'^[^-].+', arg) and classify_source(arg):
|