[PATCH] D49296: [ASTImporter] Fix import of unnamed structs

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 13 07:53:50 PDT 2018


martong created this revision.
martong added reviewers: a.sidorin, a_sidorin, balazske, gerazo.
Herald added subscribers: cfe-commits, dkrupp, rnkovacs.

https://reviews.llvm.org/D48773 simplified ASTImporter nicely, but it introduced a new error: Unnamed
structs are not imported correctly, if they appear in a recursive context.
This patch provides a fix for structural equivalency.


Repository:
  rC Clang

https://reviews.llvm.org/D49296

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49296.155386.patch
Type: text/x-patch
Size: 6439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180713/edc17025/attachment-0001.bin>


More information about the cfe-commits mailing list