|
LLVM 23.0.0git
|
A FileCheckDiag series emitted by the FileCheck library.
More...
#include "llvm/FileCheck/FileCheck.h"
Classes | |
| class | const_iterator |
Public Types | |
| using | size_type = vector_type::size_type |
Public Member Functions | |
| template<typename DiagTy, typename... ArgTys> | |
| void | emplace (ArgTys &&...Args) |
Emplace a new FileCheckDiag of type DiagTy. | |
| void | adjustPrevMatchFoundDiag (MatchFoundDiag::StatusTy Status) |
Adjust the previous MatchResultDiag, which must be a MatchFoundDiag, from successful status to unsuccessful status. | |
| const_iterator | begin () const |
| const_iterator | end () const |
| const FileCheckDiag & | operator[] (size_type I) const |
| size_type | size () const |
A FileCheckDiag series emitted by the FileCheck library.
Definition at line 401 of file FileCheck.h.
| using llvm::FileCheckDiagList::size_type = vector_type::size_type |
Definition at line 467 of file FileCheck.h.
|
inline |
Adjust the previous MatchResultDiag, which must be a MatchFoundDiag, from successful status to unsuccessful status.
Definition at line 430 of file FileCheck.h.
References llvm::cast().
Referenced by llvm::FileCheckString::Check(), and llvm::FileCheckString::CheckDag().
|
inline |
Definition at line 468 of file FileCheck.h.
|
inline |
Emplace a new FileCheckDiag of type DiagTy.
If it's a MatchNoteDiag, associate it with its MatchResultDiag.
FileCheckTest.cpp calls Pattern::printVariableDefs directly, so it can add a MatchNoteDiag without a previous MatchResultDiag. Otherwise, there should always be a previous MatchResultDiag.
Definition at line 415 of file FileCheck.h.
References llvm::cast(), llvm::dyn_cast(), and llvm::Note.
Referenced by llvm::FileCheckString::Check(), llvm::Pattern::printFuzzyMatch(), printMatch(), printNoMatch(), llvm::Pattern::printSubstitutions(), and llvm::Pattern::printVariableDefs().
|
inline |
Definition at line 469 of file FileCheck.h.
|
inline |
Definition at line 470 of file FileCheck.h.
References I.
|
inline |
Definition at line 471 of file FileCheck.h.