Home
last modified time | relevance | path

Searched refs:split_command (Results 1 – 5 of 5) sorted by relevance

/external/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py39 result = sut.split_command([cmd, '-c', 'src.c'])
55 self.assertIsNotNone(sut.split_command(['clang', 'source.c']))
56 self.assertIsNotNone(sut.split_command(['clang', '-c', 'source.c']))
57 self.assertIsNotNone(sut.split_command(['clang', '-c', 'source.c',
60 self.assertIsNone(sut.split_command(['clang', '-E', 'source.c']))
61 self.assertIsNone(sut.split_command(['clang', '-c', '-E', 'source.c']))
62 self.assertIsNone(sut.split_command(['clang', '-c', '-M', 'source.c']))
64 sut.split_command(['clang', '-c', '-MM', 'source.c']))
68 self.assertEqual(expected, sut.split_command(cmd).files)
81 sut.split_command(['cc', 'this.o', 'that.o', '-o', 'a.out']))
[all …]
/external/v8/tools/clang/pylib/clang/
Dcompile_db.py20 split_command = shlex.split(entry['command'], posix=(sys.platform != 'win32'))
23 if split_command[0].endswith('gomacc.exe'):
24 split_command = split_command[1:]
26 split_command = split_command[:1] + ['--driver-mode=cl'] + split_command[1:]
27 entry['command'] = subprocess.list2cmdline(split_command)
/external/clang/tools/scan-build-py/libscanbuild/
Dintercept.py36 from libscanbuild.compilation import split_command
221 compilation = split_command(exec_trace['command'])
Dcompilation.py60 def split_command(command): function
Danalyze.py28 from libscanbuild.compilation import split_command
165 compilation = split_command(sys.argv)