Home | History | Annotate | Download | only in scan-build

Lines Matching full:path

20 def FindClangSpecs(path):
21 print "(+) Searching for xcspec file in: ", path
22 for root, dirs, files in os.walk(path):
25 yield os.path.join(root, f)
27 def ModifySpec(path, isBuiltinAnalyzer, pathToChecker):
30 with open(path) as f:
34 with open(path) as f2:
52 print "(+) processing:", path
54 shutil.copy(t.name, path)
55 os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH)
66 parser.add_option("--use-checker-build", dest="path",
67 help="Use the Clang located at the provided absolute path, e.g. /Users/foo/checker-1")
72 if options.path is None and options.default is None:
82 if options.path:
84 path = os.path.expanduser(options.path)
85 if not path.endswith("clang"):
86 print "(+) Using Clang bundled with checker build:", path
87 path = os.path.join(path, "bin", "clang");
89 print "(+) Using Clang located at:", path
92 path = options.default
96 xcode_path = subprocess.check_output(["xcode-select", "-print-path"])
103 xcode_path = os.path.dirname(xcode_path)
108 ModifySpec(x, isBuiltinAnalyzer, path)