[PATCH] D64075: [ASTImporter] Fix structural eq of lambdas

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 06:26:12 PDT 2019


martong created this revision.
martong added a reviewer: a_sidorin.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dkrupp, rnkovacs.
Herald added a reviewer: a.sidorin.
Herald added a project: clang.

The structural equivalence check reported false eq between lambda classes
with different parameters in their call signature.
The solution is to check the methods for equality too in case of lambda
classes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64075

Files:
  clang/lib/AST/ASTStructuralEquivalence.cpp
  clang/unittests/AST/StructuralEquivalenceTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64075.207545.patch
Type: text/x-patch
Size: 3722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190702/d4d8ffeb/attachment.bin>


More information about the cfe-commits mailing list