[llvm-commits] [llvm] r83938 - /llvm/trunk/test/Scripts/notcast

Chris Lattner sabre at nondot.org
Mon Oct 12 21:27:03 PDT 2009


Author: lattner
Date: Mon Oct 12 23:27:02 2009
New Revision: 83938

URL: http://llvm.org/viewvc/llvm-project?rev=83938&view=rev
Log:
remove notcast, it is now dead!

Removed:
    llvm/trunk/test/Scripts/notcast

Removed: llvm/trunk/test/Scripts/notcast
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/notcast?rev=83937&view=auto

==============================================================================
--- llvm/trunk/test/Scripts/notcast (original)
+++ llvm/trunk/test/Scripts/notcast (removed)
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# Program: notcast
-#
-# Synopsis: Returns 0 if the input does not contain a cast operator
-#
-# Syntax:   notcast tailexpr
-#
-#    postpat - optionally allows a regular expression to go at the end
-#    prepat  - optionally allow a regular expression to go at the start
-#
-
-if grep "$2"'\(\([sz]ext\)\|\(trunc\)\|\(fpto[us]i\)\|\([us]itofp\)\|\(bitcast\)\|\(fpext\)\|\(fptrunc\)\|\(ptrtoint\)\|\(inttoptr\)\|\(cast\)\)'"$1"
-then exit 1
-else exit 0
-fi





More information about the llvm-commits mailing list