[all-commits] [llvm/llvm-project] 08b0c2: [Clang] disallow use of attributes before extern t...

Oleksandr T. via All-commits all-commits at lists.llvm.org
Mon Apr 21 08:12:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08b0c2517eb859667d59873bf04b6aa78a7583a7
      https://github.com/llvm/llvm-project/commit/08b0c2517eb859667d59873bf04b6aa78a7583a7
  Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
  Date:   2025-04-21 (Mon, 21 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/Parser.cpp
    A clang/test/Parser/extern-template-attributes.cpp

  Log Message:
  -----------
  [Clang] disallow use of attributes before extern template declarations (#136328)

Fixes #79893 


--- 

This PR addresses the issue of _attributes_ being incorrectly allowed on
`extern template` declarations

```cpp
[[deprecated]] extern template struct S<int>;
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list