Displaying 3 results from an estimated 3 matches for "matcheof".
Did you mean:
matched
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...1 +50,23 @@ NoCanonicalizeWhiteSpace("strict-whitespace",
//===----------------------------------------------------------------------===//
class Pattern {
+public:
+ enum MatchType {
+ MatchStr,
+ MatchCurrent,
+ MatchEndOfFile
+ };
+
+private:
SMLoc PatternLoc;
- /// MatchEOF - When set, this pattern only matches the end of file. This is
- /// used for trailing CHECK-NOTs.
- bool MatchEOF;
+ /// MatchType - When set to ...
+ /// MatchStr, this pattern matches according to FixedStr or RegExStr.
+ /// MatchCurrent, this pattern matches (the empty string at) the c...
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
...1 +50,23 @@ NoCanonicalizeWhiteSpace("strict-whitespace",
//===----------------------------------------------------------------------===//
class Pattern {
+public:
+ enum MatchType {
+ MatchStr,
+ MatchCurrent,
+ MatchEndOfFile
+ };
+
+private:
SMLoc PatternLoc;
- /// MatchEOF - When set, this pattern only matches the end of file. This is
- /// used for trailing CHECK-NOTs.
- bool MatchEOF;
+ /// MatchType - When set to ...
+ /// MatchStr, this pattern matches according to FixedStr or RegExStr.
+ /// MatchCurrent, this pattern matches (the empty string at) the c...
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