[all-commits] [llvm/llvm-project] dc2769: [Clang] disallow constexpr with auto and explicit ...
    Oleksandr T. via All-commits 
    all-commits at lists.llvm.org
       
    Fri Oct 17 11:50:29 PDT 2025
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc27696e9e252f318d978ced61865c72cb12c4d7
      https://github.com/llvm/llvm-project/commit/dc27696e9e252f318d978ced61865c72cb12c4d7
  Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
  Date:   2025-10-17 (Fri, 17 Oct 2025)
  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/DeclSpec.cpp
    M clang/test/Parser/c2x-auto.c
  Log Message:
  -----------
  [Clang] disallow constexpr with auto and explicit type in C23 (#163469)
Fixes #163090
--- 
This PR addresses the issue of Clang not diagnosing the invalid
combination of `constexpr`,
`auto`, and an explicit type
```c
constexpr auto int x = 0
```
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