From: Sean Silva Date: Wed, 26 Nov 2014 22:53:46 +0000 (+0000) Subject: Add a small "usage:" comment at the top of not.cpp X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1af7886abf354de48895b09bcff08989bf6975e0;p=platform%2Fupstream%2Fllvm.git Add a small "usage:" comment at the top of not.cpp Mostly pulled from Rafael's r185678 commit message. llvm-svn: 222855 --- diff --git a/llvm/utils/not/not.cpp b/llvm/utils/not/not.cpp index 2adeded..23062fb 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"