[all-commits] [llvm/llvm-project] 6a581f: [clang] fix incorrect assumption about function ty...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Sep 10 12:13:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a581f72031ed4e1165c735481b358988ab9e01e
      https://github.com/llvm/llvm-project/commit/6a581f72031ed4e1165c735481b358988ab9e01e
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/test/SemaCXX/sugar-common-types.cpp

  Log Message:
  -----------
  [clang] fix incorrect assumption about function type 's ExtInfo (#157925)

This fixes an assumption that the ExtInfo for two same function types
would have referential equality.

This should compare these ExtInfos by value instead.

The bug is pre-existing to
https://github.com/llvm/llvm-project/pull/147835, but that PR adds
another way to reproduce it.



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