[llvm] r229176 - Fixing broken bots.
Chris Bieneman
beanz at apple.com
Fri Feb 13 15:10:31 PST 2015
Author: cbieneman
Date: Fri Feb 13 17:10:31 2015
New Revision: 229176
URL: http://llvm.org/viewvc/llvm-project?rev=229176&view=rev
Log:
Fixing broken bots.
Modified:
llvm/trunk/lib/Support/CommandLine.cpp
Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=229176&r1=229175&r2=229176&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Fri Feb 13 17:10:31 2015
@@ -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");
More information about the llvm-commits
mailing list