[ https://issues.apache.org/jira/browse/TS-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348979#comment-15348979 ]
ASF GitHub Bot commented on TS-4588: ------------------------------------ GitHub user jpeach opened a pull request: https://github.com/apache/trafficserver/pull/741 TS-4588: Require braces around statements. Require bodies of if statements and loops (for, range-for, do-while, and while) to be inside braces. This is a automated change made with clang-tidy and clang-format. Header files are not included because they are not emitted into the compilation database. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jpeach/trafficserver fix/4588 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/741.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #741 ---- commit 7c4158a4b8317e6f4ba5ff15e3bb9795f94f0954 Author: James Peach <jpe...@apache.org> Date: 2016-06-25T01:10:42Z TS-4588: Require braces around statements. Require bodies of if statements and loops (for, range-for, do-while, and while) to be inside braces. This is a automated change made with clang-tidy and clang-format. Header files are not included because they are not emitted into the compilation database. ---- > Require braces around statements. > --------------------------------- > > Key: TS-4588 > URL: https://issues.apache.org/jira/browse/TS-4588 > Project: Traffic Server > Issue Type: Improvement > Components: Cleanup, Core > Reporter: James Peach > Assignee: James Peach > Fix For: 7.0.0 > > > Bodies of if statements and loops (for, range-for, do-while, and while) are > inside braces. > Apply this as a clang-tidy change > [readability-braces-around-statements|http://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)