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

    <tr>
        <th>Summary</th>
        <td>
            Backport "[clang] Require strict matches for defines for PCH in GCC style directories" to 15.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang,
            release:backport
      </td>
    </tr>

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

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

<pre>
    I think we should backport c843c921a1a385bb805b2338d980436c94f83f19 to the 15.x branch. Unfortunately it doesn't apply cleanly due to the release notes. (If backported, I would remove the corresponding release note mention from the main branch.)

I've put up a manually backported version of the commit at https://github.com/mstorsjo/llvm-project/commits/clang-pch-15.x - but I can't seem to make a PR from that into https://github.com/llvm/llvm-project-release-prs. How do I best do that, @tru ?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUs1unDAQfhq4jBZh83_gkGyUZm9RpD6AsYfFibGpbZLm7Tuwu43aQ6VKCDwe-_tjBqc--xPESds3-EAIk1uNgkHIt8X5CLItC9lxJpgo2moY2rwaeFG0qmvzsqhlV45tMbIOoiMQBFZlP2Hwwsopg-92JIzViojmE3QE5TDYhDcRxLLQljQoLH3VijcAj7QXEKyLGDJIeHsaf8tBlfAjnOBjF-lxdu-435LOewyLs0rb8x8YMKON2lkYvZv3s7PQ9iYx4V2SPyT53eV9Im2EuKwR1gUEHbWrMCTwSwC8ow8bnhuvzPNMzkSEKcYlJMVdwh_pOes4rUNGbSrmEJ0Pr46WxrzPh8W7V5SRysv1sK2MsOfDIqfDnuEBBlJxAikugQXEectoFm9Iyp5fboaIWVtq_IN-4_yL-nDNiGpK-cl90L8htgHD9pd22C3qpMyjXyEpHlPsWV3nrGZNw1LVF6orOpFGHQ3297dxSThPqvvdSlI9wAv-WLWnqYpey0jao5wwAE0FKBy1va6fj0_kAb4dj3Ty0yAouiQpMo2UDN9sb5mkqzf9_9mkUoewbjCPVZPXTTr1omGqKkTOGylLVbalbBosWMnYMEhZj6kRA5rQkxEiv3ghW1sanF9jIwG3kdgtP6S65znnectynue8YhmTI-e1VKMqKjV2DUWJNHom2_Rlzp9T3-9Sh_UcqGl0iOGrKULQZ4u4yyB8scbJ-f42Seluq989_QIzFT4W">