From 6cc8ee707c1b4337120aa2972e2ad13a4861bbc3 Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Mon, 13 Jun 2022 10:42:51 +0100 Subject: remove LLVM < 9 --- lib/Solver/SolverCmdLine.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/Solver') diff --git a/lib/Solver/SolverCmdLine.cpp b/lib/Solver/SolverCmdLine.cpp index d91261dc..b0bff6e6 100644 --- a/lib/Solver/SolverCmdLine.cpp +++ b/lib/Solver/SolverCmdLine.cpp @@ -117,12 +117,7 @@ void KCommandLine::HideOptions(llvm::cl::OptionCategory &Category) { StringMap &map = cl::getRegisteredOptions(); for (auto &elem : map) { -#if LLVM_VERSION_CODE >= LLVM_VERSION(9, 0) for (auto &cat : elem.second->Categories) { -#else - { - auto &cat = elem.second->Category; -#endif if (cat == &Category) { elem.second->setHiddenFlag(cl::Hidden); } -- cgit 1.4.1