Lines Matching refs:path
11 def FindClangSpecs(path): argument
12 for root, dirs, files in os.walk(path):
15 yield os.path.join(root, f)
17 def ModifySpec(path, pathToChecker): argument
20 with open(path) as f:
31 print "(+) processing:", path
33 shutil.copy(t.name, path)
34 os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH)
51 if options.path is None and options.default is None:
60 if options.path:
62 path = os.path.expanduser(options.path)
63 if not path.endswith("clang"):
64 print "(+) Using Clang bundled with checker build:", path
65 path = os.path.join(path, "bin", "clang");
67 print "(+) Using Clang located at:", path
70 path = options.default
73 ModifySpec(x, path)