Make add_new_check.py's insertion of registerCheck<> match the sort order
authorDaniel Sanders <daniel_l_sanders@apple.com>
Fri, 30 Aug 2019 20:47:02 +0000 (20:47 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Fri, 30 Aug 2019 20:47:02 +0000 (20:47 +0000)
commit0cdb04c3cfe0354806631f5cba547881e713b353
tree03fb687d6bc54e98ded2194f785bdd65b9987b70
parentc847cf31b0b0f8da8e13912b1cc1451d05f9b414
Make add_new_check.py's insertion of registerCheck<> match the sort order

Summary:
Following on from review comments in D65919 about the ordering
of the registerCheck<> calls. Sort based on the check name which might
be on the line after the registerCheck<>

Reviewers: aaron.ballman

Subscribers: cfe-commits, llvm-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66505

llvm-svn: 370527
clang-tools-extra/clang-tidy/add_new_check.py