Eugene.Zelenko added a comment. Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).
================ Comment at: clang-tidy/modernize/UnaryStaticAssertCheck.cpp:28 +void UnaryStaticAssertCheck::check(const MatchFinder::MatchResult &Result) { + + const auto *MatchedDecl = ---------------- Please remove empty line. ================ Comment at: docs/clang-tidy/checks/modernize-unary-static-assert.rst:15 + + void f_textless(int a){ + static_assert(sizeof(a) <= 10, ""); ---------------- Please Clang-format snippets. Same below. ================ Comment at: docs/clang-tidy/checks/modernize-unary-static-assert.rst:26 + } + + ---------------- Please remove empty line. Repository: rL LLVM https://reviews.llvm.org/D35257 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits