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

Name

Description

FileCheck [constructor]

Construct from FileCheckRequest

~FileCheck [destructor]

Destructor

CanonicalizeFile

Canonicalizes whitespaces in the file. Line endings are replaced with UNIX‐style ' '.

ValidateCheckPrefixes

checkInput

Checks the input to FileCheck provided in the Buffer against the expected strings read from the check file and record diagnostics emitted in Diags. Errors are recorded against SM.

readCheckFile

Reads the check file from Buffer and records the expected strings it contains. Errors are reported against SM.

Created with MrDocs