]> granicus.if.org Git - clang/commit
Fix typo in ASTStructuralEquivalence.cpp for UnaryTransform types.
authorEric Fiselier <eric@efcs.ca>
Wed, 4 Apr 2018 06:31:21 +0000 (06:31 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 4 Apr 2018 06:31:21 +0000 (06:31 +0000)
commit5c789923d83ed0c697c3ce689cc50ba88b8c476f
tree542954df43ab5e067d82a8afb47203bc493f2d1f
parent23b713ddc4e7f70cd6e96ea93eab3f06ca3a72d7
Fix typo in ASTStructuralEquivalence.cpp for UnaryTransform types.

Previously UnaryTransformType nodes were comparing the same node
for structural equivalence. This was due to a typo where T1 was
on both sides of the comparison. This patch corrects that typo.

Unfortunately I couldn't find a way to test this change. It seems
that currently UnaryTransform nodes are never actually checked
for equivalence, only their canonical types are.

None the less, this correction seemed appropriate.

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