Skip to content

Commit

Permalink
[clang-tidy] Cosmetic fix
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D57662

llvm-svn: 356548
  • Loading branch information
irishrover committed Mar 20, 2019
1 parent d3939d2 commit 4bfe836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
Expand Up @@ -87,8 +87,8 @@ def merge_replacement_files(tmpdir, mergefile):
"""Merge all replacement files in a directory into a single file"""
# The fixes suggested by clang-tidy >= 4.0.0 are given under
# the top level key 'Diagnostics' in the output yaml files
mergekey="Diagnostics"
merged=[]
mergekey = "Diagnostics"
merged = []
for replacefile in glob.iglob(os.path.join(tmpdir, '*.yaml')):
content = yaml.safe_load(open(replacefile, 'r'))
if not content:
Expand Down

0 comments on commit 4bfe836

Please sign in to comment.