search for: searchfrom

Displaying 3 results from an estimated 3 matches for "searchfrom".

Did you mean: searchform
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...CheckPrefix+ "-PUSH:'"); + return 1; + } + if (Buffer.data() > BufferHighWaterMark.data()) + BufferHighWaterMark = Buffer; + Buffer = BufferStack.back(); + BufferStack.pop_back(); + } + } + StringRef SearchFrom = Buffer; // Find StrNo in the file. @@ -756,6 +853,9 @@ int main(int argc, char **argv) { // the position after the match as the end of the last match. Buffer = Buffer.substr(MatchLen); LastMatch = Buffer.data(); + for (int i= CheckStr.PushPos; i; --i) { + BufferStack...
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
..., + "attempting to '"+CheckPrefix+"-POP:' without previous '"+ + CheckPrefix+ "-PUSH:'"); + return 1; + } + Buffer= BufferStack.back(); + BufferStack.pop_back(); + } + StringRef SearchFrom = Buffer; // Find StrNo in the file. @@ -756,6 +827,9 @@ int main(int argc, char **argv) { // the position after the match as the end of the last match. Buffer = Buffer.substr(MatchLen); LastMatch = Buffer.data(); + for (int i= CheckStr.PushPos; i; --i) { + BufferStack...
2012 Sep 07
0
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 7:20 AM, Matthew Curtis wrote: > > The attached patch implements one possible solution. It introduces a > position stack and a couple of directives: > > * 'CHECK-PUSH:' pushes the current match position onto the stack. > * 'CHECK-POP:' pops the top value off of the stack and uses it to set > the current match position. > > The above