mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Okay, need a pattern before and after the cast pattern.
llvm-svn: 31443
This commit is contained in:
parent
bb2e479ee9
commit
dcce9e0cc9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user