Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clang/tools/scan-build/bin/set-xcode-analyzer
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def main():
foundSpec = True
ModifySpec(x, isBuiltinAnalyzer, path)

if foundSpec == False:
if not foundSpec:
print "(-) No compiler configuration file was found. Xcode's analyzer has not been updated."

if __name__ == '__main__':
Expand Down
4 changes: 2 additions & 2 deletions clang/utils/check_cfc/check_cfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_output_file(args):
elif arg.startswith("-o"):
# Specified conjoined with -o
return arg[2:]
assert grabnext == False
assert not grabnext

return None

Expand All @@ -182,7 +182,7 @@ def replace_output_file(args, new_name):
if replaceidx is None:
raise Exception
replacement = new_name
if attached == True:
if attached:
replacement = "-o" + new_name
args[replaceidx] = replacement
return args
Expand Down