]> granicus.if.org Git - clang/commit
[ASTImporter][Structural Eq] Check for isBeingDefined
authorGabor Marton <martongabesz@gmail.com>
Wed, 31 Oct 2018 18:46:13 +0000 (18:46 +0000)
committerGabor Marton <martongabesz@gmail.com>
Wed, 31 Oct 2018 18:46:13 +0000 (18:46 +0000)
commit3c95e03870283af2773cb8050040c342af18708b
tree9e131a308b94ece3300c9a6631aedc40e51e9214
parent262f33340b2a1f9d14ce812bf568bbd42ea11f23
[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

Subscribers: rnkovacs, dkrupp, Szelethus, cfe-commits

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

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