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

    <tr>
        <th>Summary</th>
        <td>
            [Clang] Missing diagnostics for attributes after namespace name
        </td>
    </tr>

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

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

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

<pre>
    The location of the attribute is non-standard in this code:
```c++
namespace N [[deprecated]] {}
```
But clang doesn't emit any diagnostics with `-Wall -Wextra -Wpedantic`.
Compiler Explorer: https://compiler-explorer.com/z/6zcPanj5Y
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUkcFu4yAQhp8GX0aOAJs4OfiQNJtbV3uoVO1xAmObioAF427bp185GyldaSQ4zA8z34el-DES9cIchTlVuPCUcv-MI0XGl0w0paVQdUnus3-ZCEKyyD5FSAPwRIDM2V8WJvAFYop1YYwOswMfgSdfwCZHojkIeRBb-a-s0Me15CHilcqMluAn3EY4OpozWWRywpyEOYHojqI7fY8LeTguDDZgHMElKlHojoGungHjJziPY0yFvS3wx_MEYivrVwwB6lf64IxQv87kMLK3Yis3Qh6e0nX2gTL8-JhDypRFc4CJeS7r6Pos9NneW2q6t2xsugp9_hL6vP2yvzC-md-V6xu3b_ZYUa-6xmw72e7aaurd0NFgUClNAw4tKdwNLZFye-m0IlP5XkvdKt0otWuVbjfWNZ02e7U3DZnLTopW0hV92ITwft2kPFa-lIV6pVUruyrghUK5edT6hkZovSrN_RqoL8tYRCuDL1weT7DncJP_dEuYEzz7UvzK9RvEIeWH6AI4MGV4qFtv1ZJD_z-w0fO0XO6U1h_vRz3n9EaWhT7fNihCn-9LvPf6bwAAAP__-MHTcw">