[all-commits] [llvm/llvm-project] 226aca: Fix auto type-specifier conflict crash (#209308)

Osama Abdelkader via All-commits all-commits at lists.llvm.org
Tue Jul 14 06:03:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 226acaf7aeeda64a6e4e55d21f586ffe97a72fc8
      https://github.com/llvm/llvm-project/commit/226acaf7aeeda64a6e4e55d21f586ffe97a72fc8
  Author: Osama Abdelkader <osama.abdelkader at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M clang/lib/Sema/DeclSpec.cpp
    M clang/test/SemaCXX/auto-cxx0x.cpp

  Log Message:
  -----------
  Fix auto type-specifier conflict crash (#209308)

Clear owned type state when an invalid C++ auto/type-specifier conflict
is converted to an error so invalid declarations cannot trip DeclSpec
invariants.

Fixes https://github.com/llvm/llvm-project/issues/209000



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