[PATCH] D62131: [ASTImporter] Remove NonEquivalentDecls from ASTImporter

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 26 09:47:00 PDT 2019


a_sidorin added a comment.

Hi Gabor,
Could you provide an example of an import sequence leading to this behavior? It's hard for me to imagine such a situation.



================
Comment at: clang/test/ASTMerge/struct/test.c:37
 // CHECK: struct2.c:53:37: note: field 'f' has type 'float' here
-// CHECK: struct1.c:54:8: warning: type 'struct DeepError' has incompatible definitions in different translation units
-// CHECK: struct1.c:56:41: note: field 'Deeper' has type 'struct DeeperError *' here
----------------
It looks strange to me that these warnings are gone.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62131/new/

https://reviews.llvm.org/D62131





More information about the cfe-commits mailing list