llvm::FileCheck

FileCheck class takes the request and exposes various methods that use information from the request.

Synopsis

Declared in <llvm/FileCheck/FileCheck.h>

class FileCheck;

Member Functions

NameDescription
FileCheck [constructor]Construct a FileCheck instance for the given request.
~FileCheck [destructor]Destroy this FileCheck instance.
CanonicalizeFile Canonicalizes whitespaces in the file. Line endings are replaced with UNIX-style ' '.
ValidateCheckPrefixes Validate that the configured check prefixes are well-formed.
checkInput Check Buffer against the expected strings from the check file.
readCheckFile Reads the check file from Buffer and records the expected strings it contains. Errors are reported against SM.