Issue 142265
Summary [clang-format] Requires _expression_ formatting not honoring AllowShortBlocksOnASingleLine
Labels clang-format
Assignees
Reporter SouravKB
    Code:
```
template <typename T>
concept Addable = requires(T x) { x + x; };
```
Config:
```
BasedOnStyle: Google
```
Expected formatting:
```
template <typename T>
concept Addable = requires(T x) {
	x + x;
};
```
Actual formatting:
```
template <typename T>
concept Addable = requires(T x) { x + x; };
```

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to