clang-tools
7.0.0
|
Functions | |
def | clear_test_prefix_files (prefix, tests_path) |
def | copy_to_test_file (test_case_path, test_cases_path) |
def | run_clang_doc (args, out_dir, test_file) |
def | get_test_case_code (test_case_path, flags) |
def | get_output (root, out_file, case_out_path, flags, checkname, bcanalyzer) |
def | main () |
Variables | |
string | RUN_CLANG_DOC |
string | RUN |
string | CHECK = '// CHECK-{0}: ' |
string | CHECK_NEXT = '// CHECK-{0}-NEXT: ' |
def gen_tests.clear_test_prefix_files | ( | prefix, | |
tests_path | |||
) |
Definition at line 52 of file gen_tests.py.
Referenced by main().
def gen_tests.copy_to_test_file | ( | test_case_path, | |
test_cases_path | |||
) |
Definition at line 60 of file gen_tests.py.
Referenced by main().
def gen_tests.get_output | ( | root, | |
out_file, | |||
case_out_path, | |||
flags, | |||
checkname, | |||
bcanalyzer | |||
) |
Definition at line 90 of file gen_tests.py.
Referenced by main().
def gen_tests.get_test_case_code | ( | test_case_path, | |
flags | |||
) |
Definition at line 80 of file gen_tests.py.
Referenced by main().
def gen_tests.main | ( | ) |
Definition at line 118 of file gen_tests.py.
References clear_test_prefix_files(), copy_to_test_file(), get_output(), get_test_case_code(), clang::tidy::cppcoreguidelines.join(), and run_clang_doc().
def gen_tests.run_clang_doc | ( | args, | |
out_dir, | |||
test_file | |||
) |
Definition at line 67 of file gen_tests.py.
References clang::tidy::cppcoreguidelines.join().
Referenced by main().
string gen_tests.CHECK = '// CHECK-{0}: ' |
Definition at line 47 of file gen_tests.py.
string gen_tests.CHECK_NEXT = '// CHECK-{0}-NEXT: ' |
Definition at line 49 of file gen_tests.py.
string gen_tests.RUN |
Definition at line 43 of file gen_tests.py.
string gen_tests.RUN_CLANG_DOC |
Definition at line 40 of file gen_tests.py.