[clang] [clang-format] Fix bad comment indentation before ifdef after braceless if (PR #94776)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 8 12:13:31 PDT 2024


================
@@ -338,6 +338,9 @@ class UnwrappedLineParser {
   // `decltype(auto)`.
   bool IsDecltypeAutoFunction = false;
 
+  // Current nesting depth within unbraced codeblocks.
----------------
owenca wrote:

```suggestion
  // Nesting depth of unbraced body of a control statement.
```

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


More information about the cfe-commits mailing list