diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2019-03-11 16:24:31 +0000 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2019-03-13 22:10:53 +0000 |
commit | 891a3842d164ef4392c3f51431b6a8443092fc86 (patch) | |
tree | 69c970f07ef132ee770627f66e316238731d6a2e /lib/Support | |
parent | 7c0d22c61e0aec3b011b7c41d6facc45e7dd05df (diff) | |
download | klee-891a3842d164ef4392c3f51431b6a8443092fc86.tar.gz |
Placed --warnings-only-to-file in a miscellaneous category
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/ErrorHandling.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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<bool> 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) { |