Changes in directory llvm/test/Scripts:

notcast updated: 1.2 -> 1.3
---
Log message:

Okay, need a pattern before and after the cast pattern.


---
Diffs of the changes:  (+3 -2)

 notcast |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm/test/Scripts/notcast
diff -u llvm/test/Scripts/notcast:1.2 llvm/test/Scripts/notcast:1.3
--- llvm/test/Scripts/notcast:1.2       Fri Nov  3 18:58:39 2006
+++ llvm/test/Scripts/notcast   Fri Nov  3 19:11:19 2006
@@ -6,10 +6,11 @@
 #
 # Syntax:   notcast tailexpr
 #
-#    tailexpr - optionally allows a regular expression to go at the end
+#    postpat - optionally allows a regular expression to go at the end
+#    prepat  - optionally allow a regular expression to go at the start
 #
 
-if grep 
'\(\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1"
+if grep 
"$2"'\(\([sz]ext\)\|\(trunc\)\|\(fp2[us]int\)\|\([us]int2fp\)\|\(bitconvert\)\|\(fpext\)\|\(fptrunc\)\)'"$1"
 then exit 1
 else exit 0
 fi



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to