projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffcd1b
)
Amends r236990, because I failed at hitting "save" before commit.
author
Aaron Ballman
<aaron@aaronballman.com>
Mon, 11 May 2015 13:11:38 +0000
(13:11 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Mon, 11 May 2015 13:11:38 +0000
(13:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236991
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/TargetRegistry.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/TargetRegistry.cpp
b/unittests/Support/TargetRegistry.cpp
index 7738e52409402d2472e87655116c6f90ca60ea05..2dd57fa7bf186a0cc5f9759d3fc3c596f7535531 100644
(file)
--- a/
unittests/Support/TargetRegistry.cpp
+++ b/
unittests/Support/TargetRegistry.cpp
@@
-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