[clang-tools-extra] r256554 - [clang-tidy] Don't generate duplicated blank line in add_new_check.py script.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 29 03:05:36 PST 2015
Author: alexfh
Date: Tue Dec 29 05:05:35 2015
New Revision: 256554
URL: http://llvm.org/viewvc/llvm-project?rev=256554&view=rev
Log:
[clang-tidy] Don't generate duplicated blank line in add_new_check.py script.
Reviewers: alexfh
Subscribers: cfe-commits
Patch by Haojian Wu!
Differential Revision: http://reviews.llvm.org/D15803
Modified:
clang-tools-extra/trunk/clang-tidy/add_new_check.py
Modified: clang-tools-extra/trunk/clang-tidy/add_new_check.py
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/add_new_check.py?rev=256554&r1=256553&r2=256554&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/add_new_check.py (original)
+++ clang-tools-extra/trunk/clang-tidy/add_new_check.py Tue Dec 29 05:05:35 2015
@@ -92,7 +92,6 @@ public:
} // namespace clang
#endif // %(header_guard)s
-
""" % {'header_guard': header_guard,
'check_name': check_name_camel,
'check_name_dashes': check_name_dashes,
@@ -146,7 +145,6 @@ void %(check_name)s::check(const MatchFi
} // namespace %(module)s
} // namespace tidy
} // namespace clang
-
""" % {'check_name': check_name_camel,
'module': module})
More information about the cfe-commits
mailing list