[clang] [clang-tools-extra] [llvm] Apply format only if --format is specified (PR #79466)

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 08:45:54 PST 2024


================
@@ -114,9 +114,16 @@ Changes in existing checks
 Removed checks
 ^^^^^^^^^^^^^^
 
+Miscellaneous
+^^^^^^^^^^^^^
+
 - Removed `cert-dcl21-cpp`, which was deprecated since :program:`clang-tidy` 17,
   since the rule DCL21-CPP has been removed from the CERT guidelines.
 
+- Fixed incorrect apply format in clang-apply-repalcements when no `--format`
+  option is specified. Now clang-apply-repalcements applies format only with
+  the option.
----------------
AaronBallman wrote:

```suggestion
- Fixed incorrect formatting in ``clang-apply-repalcements`` when no ``--format``
  option is specified. Now ``clang-apply-replacements`` applies formatting only with
  the option.
```

https://github.com/llvm/llvm-project/pull/79466


More information about the llvm-commits mailing list