Lines Matching full:clang
14 self.assertIn('-g', check_cfc.flip_dash_g(['clang', '-c']))
15 self.assertNotIn('-g', check_cfc.flip_dash_g(['clang', '-c', '-g']))
17 '-g', check_cfc.flip_dash_g(['clang', '-g', '-c', '-g']))
53 check_cfc.is_output_specified(['clang', '-o', 'test.o']))
54 self.assertTrue(check_cfc.is_output_specified(['clang', '-otest.o']))
56 check_cfc.is_output_specified(['clang', '-gline-tables-only']))
58 self.assertFalse(check_cfc.is_output_specified(['clang', 'test.c']))
62 check_cfc.get_output_file(['clang', '-o', 'test.o']), 'test.o')
64 check_cfc.get_output_file(['clang', '-otest.o']), 'test.o')
66 check_cfc.get_output_file(['clang', '-gline-tables-only']))
69 check_cfc.get_output_file(['clang', '-c', 'test.cpp', 'test2.cpp']))
71 self.assertIsNone(check_cfc.get_output_file(['clang', '-c', 'test.c']))
76 check_cfc.derive_output_file(['clang', '-c', 'test.c']), 'test.o')
78 check_cfc.derive_output_file(['clang', '-c', 'test.cpp']), 'test.o')
79 self.assertIsNone(check_cfc.derive_output_file(['clang', '--version']))
83 ['clang', '-c', 'test.cpp', '-o', 'test2.o']))
85 check_cfc.is_normal_compile(['clang', '-c', 'test.cpp']))
88 check_cfc.is_normal_compile(['clang', '-c', 'test.cpp', '-flto']))
90 check_cfc.is_normal_compile(['clang', '-c', 'test.cpp', '-emit-llvm']))
93 check_cfc.is_normal_compile(['clang', '-E', 'test.cpp', '-o', 'test.ii']))
95 check_cfc.is_normal_compile(['clang', '-S', 'test.cpp', '-o', 'test.s']))
98 check_cfc.is_normal_compile(['clang', '-c', 'test.s', '-o', 'test.o']))
100 check_cfc.is_normal_compile(['clang', '-c', 'test.ii', '-o', 'test.o']))
103 check_cfc.is_normal_compile(['clang', '-c', 'test.cpp', '--version']))
105 check_cfc.is_normal_compile(['clang', '-c', 'test.cpp', '--help']))
108 check_cfc.is_normal_compile(['clang', '-c', '-M', 'test.cpp']))
110 check_cfc.is_normal_compile(['clang', '-c', '-MM', 'test.cpp']))
113 check_cfc.is_normal_compile(['clang', '-c', '-MD', 'test.cpp']))
115 check_cfc.is_normal_compile(['clang', '-c', '-MMD', 'test.cpp']))
119 ['clang', '-o', 'test.o'], 'testg.o'), ['clang', '-o', 'testg.o'])
121 ['clang', '-otest.o'], 'testg.o'), ['clang', '-otestg.o'])
123 check_cfc.replace_output_file(['clang'], 'testg.o')
127 ['clang'], 'testg.o'), ['clang', '-o', 'testg.o'])
132 check_cfc.set_output_file(['clang'], 'test.o'), ['clang', '-o', 'test.o'])
135 ['clang', '-o', 'test.o'], 'testb.o'), ['clang', '-o', 'testb.o'])
139 self.assertIsNone(check_cfc.get_input_file(['clang']))
142 check_cfc.get_input_file(['clang', 'test.c']), 'test.c')
145 check_cfc.get_input_file(['clang', 'test.cpp']), 'test.cpp')
148 check_cfc.get_input_file(['clang', 'test.c', 'test2.cpp']))
150 check_cfc.get_input_file(['clang', 'test.c', 'test2.c']))
152 self.assertIsNone(check_cfc.get_input_file(['clang', 'test.i']))
153 self.assertIsNone(check_cfc.get_input_file(['clang', 'test.ii']))
156 check_cfc.get_input_file(['clang', '"test.c"']), '"test.c"')
158 check_cfc.get_input_file(['clang', "'test.c'"]), "'test.c'")
161 check_cfc.get_input_file(['clang', "\"'test.c'\""]), "\"'test.c'\"")
165 ['clang', 'test.c'], 'test.s'), ['clang', 'test.s'])