[all-commits] [llvm/llvm-project] 85750d: Use the canonical type when matching a generic sel...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu May 26 04:42:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85750de685f543443ec38c407392d9d7cdc19451
      https://github.com/llvm/llvm-project/commit/85750de685f543443ec38c407392d9d7cdc19451
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-05-26 (Thu, 26 May 2022)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Sema/auto-type.c

  Log Message:
  -----------
  Use the canonical type when matching a generic selection association

This ensures that a deduced type like __auto_type matches the correct
association instead of matching all associations.

This addresses a regression from e4a42c5b64d044ae28d9483b0ebd12038d5b5917

Fixes #55702




More information about the All-commits mailing list