[all-commits] [llvm/llvm-project] 16b044: [clang] Diagnose misplaced array bounds with non-i...

keinflue via All-commits all-commits at lists.llvm.org
Sat Aug 23 02:44:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16b044e9789d6b9dc9ec6ed7e5b98731e60e3fcd
      https://github.com/llvm/llvm-project/commit/16b044e9789d6b9dc9ec6ed7e5b98731e60e3fcd
  Author: keinflue <keinflue at posteo.de>
  Date:   2025-08-23 (Sat, 23 Aug 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseDecl.cpp
    M clang/test/Parser/brackets.cpp

  Log Message:
  -----------
  [clang] Diagnose misplaced array bounds with non-identifier declarators. (#155064)

ParseMisplacedBracketDeclarator assumed that declarators without
associated identifier are ill-formed and already diagnosed previously.
This didn't consider declarators using template-ids, constructors,
destructors, conversion functions, etc.

Fixes #147333.



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