From f942c0c89d33e011cda49e090562496725da09cb Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 13 Feb 2015 23:10:31 +0000 Subject: [PATCH] Fixing broken bots. llvm-svn: 229176 --- llvm/lib/Support/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index ba2cd02..0351d28 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"); -- 2.7.4