|
88 | 88 |
|
89 | 89 | <nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
90 | 90 | <div class="sidebar-scrollbox">
|
91 |
| - <ol class="chapter"><li class="chapter-item expanded "><a href="index.html"><strong aria-hidden="true">1.</strong> Introduction</a></li><li class="chapter-item expanded "><a href="cli.html" class="active"><strong aria-hidden="true">2.</strong> Command Line Interface</a></li><li class="chapter-item expanded "><a href="permissions.html"><strong aria-hidden="true">3.</strong> Token Permissions</a></li></ol> |
| 91 | + <ol class="chapter"><li class="chapter-item expanded "><a href="index.html"><strong aria-hidden="true">1.</strong> Introduction</a></li><li class="chapter-item expanded "><a href="cli.html" class="active"><strong aria-hidden="true">2.</strong> Command Line Interface</a></li><li class="chapter-item expanded "><a href="permissions.html"><strong aria-hidden="true">3.</strong> Token Permissions</a></li><li class="chapter-item expanded "><a href="pr-review-caveats.html"><strong aria-hidden="true">4.</strong> Pull Request Review Caveats</a></li></ol> |
92 | 92 | </div>
|
93 | 93 | <div id="sidebar-resize-handle" class="sidebar-resize-handle">
|
94 | 94 | <div class="sidebar-resize-indicator"></div>
|
@@ -331,6 +331,16 @@ <h3 id="-s---style"><a class="header" href="#-s---style"><code>-s, --style</code
|
331 | 331 | <li>Set this to a blank string (<code>''</code>) to disable using clang-format
|
332 | 332 | entirely.</li>
|
333 | 333 | </ul>
|
| 334 | +<div class="mdbook-alerts mdbook-alerts-note"> |
| 335 | +<p class="mdbook-alerts-title"> |
| 336 | + <span class="mdbook-alerts-icon"></span> |
| 337 | + note |
| 338 | +</p> |
| 339 | +<p>If this is not a blank string, then it is also passed to clang-tidy |
| 340 | +(if <a href="#-c---tidy-checks"><code>--tidy_checks</code></a> is not <code>-*</code>). |
| 341 | +This is done to ensure suggestions from both clang-tidy and |
| 342 | +clang-format are consistent.</p> |
| 343 | +</div> |
334 | 344 | <h3 id="-m---ignore-format"><a class="header" href="#-m---ignore-format"><code>-M, --ignore-format</code></a></h3>
|
335 | 345 | <p>Similar to <a href="#-i---ignore"><code>--ignore</code></a> but applied
|
336 | 346 | exclusively to files analyzed by clang-format.</p>
|
@@ -404,6 +414,16 @@ <h3 id="-a---file-annotations"><a class="header" href="#-a---file-annotations"><
|
404 | 414 | <dt>Default</dt><dd><code>"true"</code></dd>
|
405 | 415 | <p>Set this option to false to disable the use of
|
406 | 416 | file annotations as feedback.</p>
|
| 417 | +<h3 id="-d---tidy-review"><a class="header" href="#-d---tidy-review"><code>-d, --tidy-review</code></a></h3> |
| 418 | +<dt>Default</dt><dd><code>"false"</code></dd> |
| 419 | +<p>Set to <code>true</code> to enable Pull Request reviews from clang-tidy.</p> |
| 420 | +<h3 id="-m---format-review"><a class="header" href="#-m---format-review"><code>-m, --format-review</code></a></h3> |
| 421 | +<dt>Default</dt><dd><code>"false"</code></dd> |
| 422 | +<p>Set to <code>true</code> to enable Pull Request reviews from clang-format.</p> |
| 423 | +<h3 id="-r---passive-reviews"><a class="header" href="#-r---passive-reviews"><code>-R, --passive-reviews</code></a></h3> |
| 424 | +<dt>Default</dt><dd><code>"false"</code></dd> |
| 425 | +<p>Set to <code>true</code> to prevent Pull Request reviews from |
| 426 | +approving or requesting changes.</p> |
407 | 427 |
|
408 | 428 | </main>
|
409 | 429 |
|
|
0 commit comments