mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
Okay, need a pattern before and after the cast pattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6,10 +6,11 @@
|
|||||||
#
|
#
|
||||||
# Syntax: notcast tailexpr
|
# 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
|
then exit 1
|
||||||
else exit 0
|
else exit 0
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user