[clang] [clang-format][NFC] Clean up AnnotatingParser::consumeToken() (PR #142104)

Jordan Rupprecht via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 3 14:19:35 PDT 2025


rupprecht wrote:

It looks like this change is not actually NFC. The difference is incredibly minor. Given this C++ snippet:

```c++
namespace f {
/*//comment*/};
```

clang-format used to not touch that. Now, it adds a space near the end:

```c++
namespace f {
/*//comment*/ };
```

Is that expected?

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


More information about the cfe-commits mailing list