Amends r236990, because I failed at hitting "save" before commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman 2015-05-11 13:11:38 +00:00
parent 9ffcd1bdbd
commit 0a62359646

View File

@ -22,8 +22,7 @@ TEST(TargetRegistry, TargetHasArchType) {
llvm::InitializeAllTargetInfos();
llvm::TargetRegistry RegistryRoot;
for (auto &I = TargetRegistry::begin(), &E = TargetRegistry::end();
for (auto I = TargetRegistry::begin(), E = TargetRegistry::end();
I != E; ++I) {
StringRef Name = I->getName();
// There is really no way (at present) to ask a Target whether it targets