From: Chris Bieneman Date: Fri, 13 Feb 2015 23:10:31 +0000 (+0000) Subject: Fixing broken bots. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=0213b090b87629f88fca9eff4d80b9a2ee2c7266;hp=8c6097d490256cd3a89b185feb401c63ff5805d1 Fixing broken bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229176 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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");