Add a small "usage:" comment at the top of not.cpp
authorSean Silva <chisophugis@gmail.com>
Wed, 26 Nov 2014 22:53:46 +0000 (22:53 +0000)
committerSean Silva <chisophugis@gmail.com>
Wed, 26 Nov 2014 22:53:46 +0000 (22:53 +0000)
Mostly pulled from Rafael's r185678 commit message.

llvm-svn: 222855

llvm/utils/not/not.cpp

index 2adeded..23062fb 100644 (file)
@@ -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"