[ASTImporter] Fix up test that only works on X86.
authorDavid Green <david.green@arm.com>
Sat, 2 Feb 2019 08:31:22 +0000 (08:31 +0000)
committerDavid Green <david.green@arm.com>
Sat, 2 Feb 2019 08:31:22 +0000 (08:31 +0000)
commit1be906a103094c6fc2eea0985ffe3dc9e6de59f9
treed7cb90c3070e618841416d1025e71b73abff65d7
parentd3107a7b85eb8421d91b93bd67d8f0cf769d978e
[ASTImporter] Fix up test that only works on X86.

The test will fail if the default target triple is not X86,
even if the host platform is. So move the check into the
test at runtime.

llvm-svn: 352956
clang/unittests/AST/StructuralEquivalenceTest.cpp