[llvm] r222855 - Add a small "usage:" comment at the top of not.cpp
Sean Silva
chisophugis at gmail.com
Wed Nov 26 14:53:47 PST 2014
Author: silvas
Date: Wed Nov 26 16:53:46 2014
New Revision: 222855
URL: http://llvm.org/viewvc/llvm-project?rev=222855&view=rev
Log:
Add a small "usage:" comment at the top of not.cpp
Mostly pulled from Rafael's r185678 commit message.
Modified:
llvm/trunk/utils/not/not.cpp
Modified: llvm/trunk/utils/not/not.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/not/not.cpp?rev=222855&r1=222854&r2=222855&view=diff
==============================================================================
--- llvm/trunk/utils/not/not.cpp (original)
+++ llvm/trunk/utils/not/not.cpp Wed Nov 26 16:53:46 2014
@@ -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"
More information about the llvm-commits
mailing list