[all-commits] [llvm/llvm-project] 7f0ef7: Fix profiling of overloaded postincrement / postde...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Jul 11 08:41:44 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f0ef7f304b1b91694f14e5c9c10de2aa6f38c95
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M clang/lib/AST/StmtProfile.cpp
    A clang/test/SemaTemplate/equivalence.cpp

  Log Message:
  Fix profiling of overloaded postincrement / postdecrement.

We were accidentally profiling the fabricated second argument (`0`),
resulting in overloaded dependent `a++` and non-overloaded dependent
`a++` having different hashes.

More information about the All-commits mailing list