<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/81229>81229</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Empty line after comment/comment block
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
FaizAlam
</td>
</tr>
</table>
<pre>
Hi team,
I have been exploring clang-format for a while now and the preset styles are quite diverse and covers most of the the possibilities. However I wanted to know if there's a way to introduce an empty line after comment (or comment block) in the code. That would make the code more readable.
Existing format:
```
ll max_size = 1; // initialize max size as 1.
stack<ll> Stack;
// Mark all the vertices as not visited (For first DFS)
bool *visited = new bool[V];
for (ll i = 0; i < V; i++) visited[i] = false;
// Fill vertices in stack according to their finishing times. Mark all the
// vertices as not visited (For second DFS) Create a reversed graph
for (ll i = 0; i < V; i++)
...
```
Expected format:
```
ll max_size = 1; // initialize max size as 1.
stack<ll> Stack;
// Mark all the vertices as not visited (For first DFS)
bool *visited = new bool[V];
for (ll i = 0; i < V; i++) visited[i] = false;
// Fill vertices in stack according to their finishing times. Mark all the
// vertices as not visited (For second DFS) Create a reversed graph
for (ll i = 0; i < V; i++)
...
```
This style is not an standard practice and isn't implemented in any of the existing styles. It would be great if we could start a communication regarding this styling.
Regards,
Faiz
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVU1v4zYQ_TX0ZRBBpuzIPugQ2zE2h166i70WI2okTU2RKknZ8f76gpSdbIoWixYo0EMBwebHfLwZPb1B77kzRJVY78T6sMAp9NZVR-RvTxqHRW2ba_WJIRAOQu5B5AeRP71Aj2eCmsgAvY7aOjYdKI2me2itGzBAax0gXHrWBMZeAE0DoScYHXkK4MNVkwd0BL9NHAgaPpPzlOyUjWsYrA9g2-SWXK33XLPmwOQz-GQvdCYHL3BBE6iBYOEUU3FycSRk6SMGvMYrNsHZZlIxBdAwhitoNgTYBnKg7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