]> granicus.if.org Git - clang/commit
[ASTImporter][Structural Eq] Check for isBeingDefined
authorGabor Marton <martongabesz@gmail.com>
Mon, 26 Nov 2018 15:54:08 +0000 (15:54 +0000)
committerGabor Marton <martongabesz@gmail.com>
Mon, 26 Nov 2018 15:54:08 +0000 (15:54 +0000)
commit699929e7c37245caa81685a6ba371305c91a9019
treea7769297b4a6969f970415f98e16c13fe1a53f87
parent1de05d8796ac8a7603446bf5f1840e015bf3a06a
[ASTImporter][Structural Eq] Check for isBeingDefined

Summary:
If one definition is currently being defined, we do not compare for
equality and we assume that the decls are equal.

Reviewers: a_sidorin, a.sidorin, shafik

Reviewed By: a_sidorin

Subscribers: gamesh411, shafik, rnkovacs, dkrupp, Szelethus, cfe-commits

Differential Revision: https://reviews.llvm.org/D53697

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp
lib/AST/ASTStructuralEquivalence.cpp
unittests/AST/ASTImporterTest.cpp