Searched refs:classify_source (Results 1 – 6 of 6) 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/llvm-project/clang/tools/scan-build-py/tests/unit/ |
D | test_compilation.py | 111 self.assertIsNone(sut.classify_source('file.o')) 112 self.assertIsNone(sut.classify_source('file.exe')) 113 self.assertIsNone(sut.classify_source('/path/file.o')) 114 self.assertIsNone(sut.classify_source('clang')) 116 self.assertEqual('c', sut.classify_source('file.c')) 117 self.assertEqual('c', sut.classify_source('./file.c')) 118 self.assertEqual('c', sut.classify_source('/path/file.c')) 119 self.assertEqual('c++', sut.classify_source('file.c', False)) 120 self.assertEqual('c++', sut.classify_source('./file.c', False)) 121 self.assertEqual('c++', sut.classify_source('/path/file.c', False))
|
/external/llvm-project/clang/tools/scan-build-py/libscanbuild/ |
D | compilation.py | 94 elif re.match(r'^[^-].+', arg) and classify_source(arg): 103 def classify_source(filename, c_compiler=True): function
|
D | analyze.py | 34 from libscanbuild.compilation import split_command, classify_source, \ 692 language = classify_source(opts['file'], compiler == 'c') 782 elif re.match(r'^[^-].+', arg) and classify_source(arg):
|
/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):
|