<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/82945>82945</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang][Diagnostics] Highlighted code snippets render diagnostics unusable
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          nabijaczleweli
      </td>
    </tr>
</table>

<pre>
    I just got this:
![](https://github.com/llvm/llvm-project/assets/6709544/1d3d830a-5066-40d0-8b59-cb04e4bbd8f0)

How do I make it not be that? I see no tunable to disable this in 718aac9f7a19227b5c5ec85819a3a5ae24ce32e1 and the thread under #66514 would imply there is, by design, no way! it suggests `-fno-color-diagnostics` which yields
![](https://github.com/llvm/llvm-project/assets/6709544/5cbcd3c5-d728-4fec-8628-6e71887aa1ea)
which is also wrong.

How does one get normal, usable, diagnostics? Even if you would, for some reason, want this to be the default, why is there seemingly *no way* to disable this? Why was this not a question anyone asked before?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0k8GypCYUhp8GN6fsQhTFhYs76VhznyDrIxyVOzR0BKfLPH0KzSS3klUWs-nGggPn_7__YIx28UQDk1-YvBe4pzVsg8fJfqD-w9GLnC2mYI7hHT72mGAJCdJqI6vfGL8z_sZEdRUzodaUnueOGJkYF5vWfbrp8GBidO77j7_yuYUP0omJEWOkFJkY2473smmYGCtTG1VzLCVv27Lhhpdqkn2pJ95QM01GzZyJ_q_Hz9-v4QUmwDs88BuBTeBDgokgrZhYPcI7RCLwAdLucXIEKYCx8VquNoL10FUKUfdzh1UvRDdJLUkrqaoea5RIotFUC6oAvYG05sKN0MDuDW3ARN22smrgFXZnwD6e7sinNgIbmfgFpgMMZa_zhw_wwoOJKvca92WhmCKwlpezD6UOLmylsbj4EJPVkbUcXqvVKxyWnIk_x3epJ21qLUvTCVU2M-lStUKVLXWVUh1iRfi371c7NgK6GOC1Bb_c_kuEIgRPsFAmsj3QZfH76XtefZZYj_Drd_JgZzjCftmYz8xhgxgeBBthDKd7L_RXBDPGkzKBoRl3l87t9ciNXeZHoof1izuAibcftr_9m39-_bf1gBfG6-KcH4Tfd4rJBg_oj6wD4zcyMNEcNmL1WJihNn3dY0FD1XHV867lTbEORtayzWmRHe_U3OqumWuNSusOVY26sIPgouFCtJzXtWhuuqO2b6mjWai2nQVrOD3QulvGdgvbUtgYdxqU6BtZOJzIxXNkhdAO_cKEyNO7DSfmaV8ia7izMcV_bkg2uXPOrwp5Z_LL_RMBeYevdlmdXdZEBnQwBNHb55NShI3OmH8iBru_SBb75ob_HcBTTw7gKenPAAAA__8Z5XJO">