summaryrefslogtreecommitdiffstats
path: root/llvm/utils/not
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2014-11-26 22:53:46 +0000
committerSean Silva <chisophugis@gmail.com>2014-11-26 22:53:46 +0000
commit1af7886abf354de48895b09bcff08989bf6975e0 (patch)
tree7d490801c16a7b0502e7f8a0d13b932e7f729e65 /llvm/utils/not
parent9c1d4f744dd76a857d1f3f2ad530102cb0ee8310 (diff)
downloadbcm5719-llvm-1af7886abf354de48895b09bcff08989bf6975e0.tar.gz
bcm5719-llvm-1af7886abf354de48895b09bcff08989bf6975e0.zip
Add a small "usage:" comment at the top of not.cpp
Mostly pulled from Rafael's r185678 commit message. llvm-svn: 222855
Diffstat (limited to 'llvm/utils/not')
-rw-r--r--llvm/utils/not/not.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/utils/not/not.cpp b/llvm/utils/not/not.cpp
index 2adeded51f0..23062fb323d 100644
--- a/llvm/utils/not/not.cpp
+++ b/llvm/utils/not/not.cpp
@@ -6,6 +6,11 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+// Usage:
+// not cmd
+// Will return true if cmd doesn't crash and returns false.
+// not --crash cmd
+// Will return true if cmd crashes (e.g. for testing crash reporting).
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
OpenPOWER on IntegriCloud