[PATCH] D50444: [ASTImporter] Fix structural inequivalency of forward EnumDecl

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 15:39:08 PDT 2018


a_sidorin accepted this revision.
a_sidorin added a comment.
This revision is now accepted and ready to land.

Yes, this seems to be correct. Thanks!



================
Comment at: lib/AST/ASTStructuralEquivalence.cpp:1182
+
+  // Compare the definitions of these two eunums. If either or both are
+  // incomplete (i.e. forward declared), we assume that they are equivalent.
----------------
enums


Repository:
  rC Clang

https://reviews.llvm.org/D50444





More information about the cfe-commits mailing list