[all-commits] [llvm/llvm-project] 49d311: [clang-format] Missing space after cast in a macro

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Thu Jan 6 00:11:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49d311874edc928831ccaddd621801a4dbee580d
      https://github.com/llvm/llvm-project/commit/49d311874edc928831ccaddd621801a4dbee580d
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Missing space after cast in a macro

https://github.com/llvm/llvm-project/issues/52979

Though SpaceAfterCStyleCast is set to true, clang-format 13 does not add a space after (void *) here:

```
```

This patch addresses that

Fixes: #52979

Reviewed By: curdeius, HazardyKnusperkeks, owenpan

Differential Revision: https://reviews.llvm.org/D116592




More information about the All-commits mailing list