MCPcopy Create free account
hub / github.com/MyGUI/mygui / apply_fixes

Function apply_fixes

Scripts/run-clang-tidy.py:210–219  ·  view source on GitHub ↗

Calls clang-apply-fixes on a given directory.

(args, clang_apply_replacements_binary, tmpdir)

Source from the content-addressed store, hash-verified

208
209
210def apply_fixes(args, clang_apply_replacements_binary, tmpdir):
211 """Calls clang-apply-fixes on a given directory."""
212 invocation = [clang_apply_replacements_binary]
213 invocation.append('-ignore-insert-conflict')
214 if args.format:
215 invocation.append('-format')
216 if args.style:
217 invocation.append('-style=' + args.style)
218 invocation.append(tmpdir)
219 subprocess.call(invocation)
220
221
222def run_tidy(args, clang_tidy_binary, tmpdir, build_path, queue, lock,

Callers 1

mainFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected