summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-02-13 23:10:31 +0000
committerChris Bieneman <beanz@apple.com>2015-02-13 23:10:31 +0000
commitf942c0c89d33e011cda49e090562496725da09cb (patch)
treed004f02f7d449f539e124ef8b3045ee63803eeda /llvm/lib/Support
parent66facd6c1412ebf3f1a850cffdcfc86dcce0a6c3 (diff)
downloadbcm5719-llvm-f942c0c89d33e011cda49e090562496725da09cb.tar.gz
bcm5719-llvm-f942c0c89d33e011cda49e090562496725da09cb.zip
Fixing broken bots.
llvm-svn: 229176
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index ba2cd02622a..0351d285bca 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -198,7 +198,7 @@ public:
assert(std::count_if(RegisteredOptionCategories.begin(),
RegisteredOptionCategories.end(),
[cat](const OptionCategory *Category) {
- return getName() == Category->getName();
+ return cat->getName() == Category->getName();
}) == 0 &&
"Duplicate option categories");
OpenPOWER on IntegriCloud