|
LLVM
10.0.0
|
#include "llvm/Support/FileCheck.h"
Public Types | |
| enum | MatchType { MatchFoundAndExpected, MatchFoundButExcluded, MatchFoundButWrongLine, MatchFoundButDiscarded, MatchNoneAndExcluded, MatchNoneButExpected, MatchFuzzy } |
| What type of match result does this diagnostic describe? More... | |
Public Member Functions | |
| FileCheckDiag (const SourceMgr &SM, const Check::FileCheckType &CheckTy, SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange) | |
Public Attributes | |
| Check::FileCheckType | CheckTy |
| What is the FileCheck directive for this diagnostic? More... | |
| unsigned | CheckLine |
| Where is the FileCheck directive for this diagnostic? More... | |
| unsigned | CheckCol |
| enum llvm::FileCheckDiag::MatchType | MatchTy |
| unsigned | InputStartLine |
| The search range if MatchTy is MatchNoneAndExcluded or MatchNoneButExpected, or the match range otherwise. More... | |
| unsigned | InputStartCol |
| unsigned | InputEndLine |
| unsigned | InputEndCol |
Definition at line 86 of file FileCheck.h.
What type of match result does this diagnostic describe?
A directive's supplied pattern is said to be either expected or excluded depending on whether the pattern must have or must not have a match in order for the directive to succeed. For example, a CHECK directive's pattern is expected, and a CHECK-NOT directive's pattern is excluded. All match result types whose names end with "Excluded" are for excluded patterns, and all others are for expected patterns.
There might be more than one match result for a single pattern. For example, there might be several discarded matches (MatchFoundButDiscarded) before either a good match (MatchFoundAndExpected) or a failure to match (MatchNoneButExpected), and there might be a fuzzy match (MatchFuzzy) after the latter.
Definition at line 105 of file FileCheck.h.
| FileCheckDiag::FileCheckDiag | ( | const SourceMgr & | SM, |
| const Check::FileCheckType & | CheckTy, | ||
| SMLoc | CheckLoc, | ||
| MatchType | MatchTy, | ||
| SMRange | InputRange | ||
| ) |
Definition at line 914 of file FileCheck.cpp.
| unsigned llvm::FileCheckDiag::CheckCol |
Definition at line 90 of file FileCheck.h.
| unsigned llvm::FileCheckDiag::CheckLine |
Where is the FileCheck directive for this diagnostic?
Definition at line 90 of file FileCheck.h.
| Check::FileCheckType llvm::FileCheckDiag::CheckTy |
What is the FileCheck directive for this diagnostic?
Definition at line 88 of file FileCheck.h.
| unsigned llvm::FileCheckDiag::InputEndCol |
Definition at line 130 of file FileCheck.h.
| unsigned llvm::FileCheckDiag::InputEndLine |
Definition at line 129 of file FileCheck.h.
| unsigned llvm::FileCheckDiag::InputStartCol |
Definition at line 128 of file FileCheck.h.
| unsigned llvm::FileCheckDiag::InputStartLine |
The search range if MatchTy is MatchNoneAndExcluded or MatchNoneButExpected, or the match range otherwise.
Definition at line 127 of file FileCheck.h.
| enum llvm::FileCheckDiag::MatchType llvm::FileCheckDiag::MatchTy |
1.8.13