search for: nextcheckpoppo

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

Did you mean: nextcheckpoppos
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
...xt), PushPos(0), PopPos(0) {} }; /// CanonicalizeInputFile - Remove duplicate horizontal space from the specified @@ -517,6 +541,8 @@ static bool ReadCheckFile(SourceMgr &SM, StringRef Buffer = F->getBuffer(); std::vector<std::pair<SMLoc, Pattern> > NotMatches; + int NextCheckPopPos= 0; + SMLoc NextCheckPopLoc; while (1) { // See if Prefix occurs in the memory buffer. @@ -531,6 +557,7 @@ static bool ReadCheckFile(SourceMgr &SM, // When we find a check prefix, keep track of whether we find CHECK: or // CHECK-NEXT: bool IsCheckNext = false, IsCheck...
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...xt), PushPos(0), PopPos(0) {} }; /// CanonicalizeInputFile - Remove duplicate horizontal space from the specified @@ -517,6 +541,8 @@ static bool ReadCheckFile(SourceMgr &SM, StringRef Buffer = F->getBuffer(); std::vector<std::pair<SMLoc, Pattern> > NotMatches; + int NextCheckPopPos= 0; + SMLoc NextCheckPopLoc; while (1) { // See if Prefix occurs in the memory buffer. @@ -531,6 +557,7 @@ static bool ReadCheckFile(SourceMgr &SM, // When we find a check prefix, keep track of whether we find CHECK: or // CHECK-NEXT: bool IsCheckNext = false, IsCheck...