From 891a3842d164ef4392c3f51431b6a8443092fc86 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Mon, 11 Mar 2019 16:24:31 +0000 Subject: Placed --warnings-only-to-file in a miscellaneous category --- lib/Support/ErrorHandling.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Support/ErrorHandling.cpp b/lib/Support/ErrorHandling.cpp index 00647701..d1dd6a15 100644 --- a/lib/Support/ErrorHandling.cpp +++ b/lib/Support/ErrorHandling.cpp @@ -32,11 +32,13 @@ static const char *errorPrefix = "ERROR"; static const char *notePrefix = "NOTE"; namespace { +cl::OptionCategory MiscCat("Miscellaneous options", ""); cl::opt WarningsOnlyToFile( "warnings-only-to-file", cl::init(false), cl::desc("All warnings will be written to warnings.txt only. If disabled, " - "they are also written on screen.")); -} + "they are also written on screen."), + cl::cat(MiscCat)); +} // namespace static bool shouldSetColor(const char *pfx, const char *msg, const char *prefixToSearchFor) { -- cgit 1.4.1