From 0213b090b87629f88fca9eff4d80b9a2ee2c7266 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 13 Feb 2015 23:10:31 +0000 Subject: [PATCH 1/1] Fixing broken bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229176 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index ba2cd02622a..0351d285bca 100644 --- a/lib/Support/CommandLine.cpp +++ b/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.34.1