Lines Matching +full:clang +full:- +full:tidy
8 # http://www.apache.org/licenses/LICENSE-2.0
29 clang_tidy = os.environ.get("CLANG_TIDY", "clang-tidy")
31 argp = argparse.ArgumentParser(description="Run clang-tidy against core")
32 argp.add_argument("files", nargs="+", help="Files to tidy")
33 argp.add_argument("--fix", dest="fix", action="store_true")
35 "-j",
36 "--jobs",
41 argp.add_argument("--only-changed", dest="only_changed", action="store_true")
45 # Explicitly passing the .clang-tidy config by reading it.
47 # in a different source tree so clang-tidy cannot find the right config file
49 with open(".clang-tidy") as f:
53 "--config=" + config,
57 cmdline.append("--fix-errors")
63 ["git", "diff", "upstream/master", "HEAD", "--name-only"]
70 print(("skip: %s - not in the build" % line))