search for: lastmatch

Displaying 5 results from an estimated 5 matches for "lastmatch".

Did you mean: last_match
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...CheckPopPos; + CheckStrings.back().PopLoc= NextCheckPopLoc; + NextCheckPopPos= 0; + NextCheckPopLoc= SMLoc(); std::swap(NotMatches, CheckStrings.back().NotStrings); } @@ -686,10 +761,32 @@ int main(int argc, char **argv) { StringRef Buffer = F->getBuffer(); const char *LastMatch = Buffer.data(); + std::vector<StringRef> BufferStack; + StringRef BufferHighWaterMark = Buffer; for (unsigned StrNo = 0, e = CheckStrings.size(); StrNo != e; ++StrNo) { const CheckString &CheckStr = CheckStrings[StrNo]; + if (CheckStr.PopPos == -1) { + if (Buffer.da...
2005 Jan 13
0
[Bug 2240] New: Add last-match/short-circuit processing of include/exclude
.../show_bug.cgi?id=2240 Summary: Add last-match/short-circuit processing of include/exclude Product: rsync Version: 2.6.3 Platform: All URL: http://cvs.openpkg.org/getfile/openpkg- src/rsync/rsync.patch.lastmatch OS/Version: FreeBSD Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: rse@engelschall.com QAContact: rsync-qa@samba.org I've added a --last-match command line option...
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
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
...CheckPopPos; + CheckStrings.back().PopLoc= NextCheckPopLoc; + NextCheckPopPos= 0; + NextCheckPopLoc= SMLoc(); std::swap(NotMatches, CheckStrings.back().NotStrings); } @@ -686,10 +745,22 @@ int main(int argc, char **argv) { StringRef Buffer = F->getBuffer(); const char *LastMatch = Buffer.data(); + std::vector<StringRef> BufferStack; for (unsigned StrNo = 0, e = CheckStrings.size(); StrNo != e; ++StrNo) { const CheckString &CheckStr = CheckStrings[StrNo]; + for (int i = CheckStr.PopPos; i; --i) { + if (BufferStack.empty()) { + SM.PrintM...
2005 Jan 13
4
[Bug 2240] Add last-match/short-circuit processing of include/exclude
https://bugzilla.samba.org/show_bug.cgi?id=2240 ------- Additional Comments From rse@engelschall.com 2005-01-13 07:48 ------- Created an attachment (id=887) --> (https://bugzilla.samba.org/attachment.cgi?id=887&action=view) rsync.patch.lastmatch -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.