clang-tools 22.0.0git
clang-tidy-diff Namespace Reference

Functions

 run_tidy (task_queue, lock, timeout, failed_files)
 start_workers (max_tasks, tidy_caller, arguments)
 merge_replacement_files (tmpdir, mergefile)
 get_compiling_files (args)
 main ()

Variables

 yaml = None

Function Documentation

◆ get_compiling_files()

clang-tidy-diff.get_compiling_files ( args)
Read a compile_commands.json database and return a set of file paths

Definition at line 122 of file clang-tidy-diff.py.

Referenced by main().

◆ main()

clang-tidy-diff.main ( )

Definition at line 139 of file clang-tidy-diff.py.

References get_compiling_files(), main(), merge_replacement_files(), and start_workers().

Referenced by main().

◆ merge_replacement_files()

clang-tidy-diff.merge_replacement_files ( tmpdir,
mergefile )
Merge all replacement files in a directory into a single file

Definition at line 97 of file clang-tidy-diff.py.

Referenced by main().

◆ run_tidy()

clang-tidy-diff.run_tidy ( task_queue,
lock,
timeout,
failed_files )

Definition at line 47 of file clang-tidy-diff.py.

◆ start_workers()

clang-tidy-diff.start_workers ( max_tasks,
tidy_caller,
arguments )

Definition at line 90 of file clang-tidy-diff.py.

Referenced by main().

Variable Documentation

◆ yaml

clang-tidy-diff.yaml = None

Definition at line 44 of file clang-tidy-diff.py.