<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJzNVFFv2yAQ_jX4BSWycezGD35IlkTrNHWTWm2PE4ZzzEYgAtwu_36HnTZZE2mapmlDFoa747vjuzsaKw_1QwfUg7BGUmF3OzCBdtxT-B4cnygjUcCDsoY-deAANbdUWmpsoA1oBY9AVaC-s72WKKEB4QT3MCXpiqSL41ymx2_YqpYSNg_gA2EVJTfLUUxxELYhbEE3yvlAo8UURYsofTEZT7fRAo-f5HFI-9ApT_Llufdn5RH7frzsJThhuWoltPTt4tP6y4eP67v7-_ev_Y5UXXXMw8kxy8FI1R53N6urPJzPdzZE8ngYGTxmQnlcOgci6APlWm0NyBjILRXa-pFthENHZUobbcU3wt5Q62JOQsxXRDCW7h1M9s4K8B6VWhlAkhaXUfzFRP18_EqyBtQXpl47-j-z9u8L-1f0_DYHF7dOZJ3LKq94wvvQWVe_67HvzWSNc9I7XXch7IdyiqFstip0fTPFCsaN1o_Pv1h_X7GQcau877EA2abI87JMujoVeVEUjMls3syaFoTIRFPOMy6rshBNlWiOj42vSbEkjBl4ogMErkmxSv48AlWzlLE0Y3k2y2azdJpVDLiYQ1pgQlpekVkKO670NOJMrdsmrh4gm37rUamVD_6k5N7HVoUhYIwwqKCh_uys2Z5a--xpbaC12KuXXUqbA3Y6N9sJGux4SIbA6yHqH6FGnEE>53366</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Wrong comment indentation before pre-processor line by clang-format
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Julien-Elie
</td>
</tr>
</table>
<pre>
The second comment has extra-indentation whereas I do not believe it should be the case.
```
if (test) {
/* First test. */
if (first)
doThis;
/* Second test. */
#ifdef HAVE_OPENSSL
if (second)
doThat;
#endif
}
```
Note that the comment is correctly aligned if I close the `if` block, or it there is no pre-processor lines:
```
if (test) {
/* First test. */
if (first) {
doThis;
}
/* Second test. */
#ifdef HAVE_OPENSSL
if (second)
doThat;
#endif
}
```
```
if (test) {
/* First test. */
if (first)
doThis;
/* Second test. */
if (second)
doThat;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNVE2P2jAQ_TXOxSIyDgFyyAEKqFtV20qstsfKiSeJW2Mj29kt_77jwC50Qap6qForcjJfb8ZvJq6sPJQPHVAPtTWS1na3AxNoJzyFH8GJkTISFSIoa-hzBw7QckelpcYGWoFW8ARUBeo722uJGhoQrhYeUsJWhC1O-5SdnkFUDSV8HsAHwgtKZsujmuIifEP4gm6U84FGjxRVi6h9dTlGN9EDw8_6uKR96JQn2fIy-4vxhL09HvYanPBMNRIa-n7xuP766fP6frv9-DbvkaqbiUU4J-YZGKmakzRb3eThcr-3IZInwpHBUyeUx0_noA76QIVWrQEZC7mjtbb-yDbCYaIpo5W29XfC31HrYk9C7FdEMJbuHYz2ztbgPRq1MoAkLa6r-IuN-jX8RrMG1Fem3ib6P7v27wf7d_T8MQdXp05kmckiK0QSVNBQfnHWtOcJvbghKmgsjtz1sNHqgAMrTDtCh50ISe902YWwH6YwnmDTqtD1VYqwKGj99PKKSN9w_lFU3vc4t3yTZ9l0mnRlPYOCFaLOecHkNM_Gk7mQc84kL3gtC0i0wDvKlyRfEs4NPNMBAr9JvkpUyRnnbMwxbjyZsHRccBD1HFiOXWhEQSYMdkLpNNaRWtcmrhxKqvrWo1ErH_zZKLyP_ycM6RBf9KGzrvzQ4y1pRmvckyF9OZT_Ey8rhkk">