[all-commits] [llvm/llvm-project] 977702: [clang] fix crash when casting a parenthesized unr...

Serosh via All-commits all-commits at lists.llvm.org
Fri Feb 27 12:27:48 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 977702ccc40dbaad64a453e75239914f3dff0761
      https://github.com/llvm/llvm-project/commit/977702ccc40dbaad64a453e75239914f3dff0761
  Author: Serosh <janmejayapanda400 at gmail.com>
  Date:   2026-02-27 (Fri, 27 Feb 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/SemaCXX/gh183505.cpp

  Log Message:
  -----------
  [clang] fix crash when casting a parenthesized unresolved template-id (#183633)

this fix uses ignoreparens() in checkplaceholderexpr to prevent a crash
when an unresolved template-id is wrapped in parentheses. fixes #183505



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