LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::FileCheckExpressionLiteral Class Reference

Class representing an unsigned literal in the AST of an expression. More...

#include "Support/FileCheckImpl.h"

Inheritance diagram for llvm::FileCheckExpressionLiteral:
Inheritance graph
[legend]
Collaboration diagram for llvm::FileCheckExpressionLiteral:
Collaboration graph
[legend]

Public Member Functions

 FileCheckExpressionLiteral (uint64_t Val)
 Constructs a literal with the specified value. More...
 
Expected< uint64_t > eval () const
 
- Public Member Functions inherited from llvm::FileCheckExpressionAST
virtual ~FileCheckExpressionAST ()=default
 

Detailed Description

Class representing an unsigned literal in the AST of an expression.

Definition at line 44 of file FileCheckImpl.h.

Constructor & Destructor Documentation

◆ FileCheckExpressionLiteral()

llvm::FileCheckExpressionLiteral::FileCheckExpressionLiteral ( uint64_t  Val)
inline

Constructs a literal with the specified value.

Definition at line 51 of file FileCheckImpl.h.

Member Function Documentation

◆ eval()

Expected<uint64_t> llvm::FileCheckExpressionLiteral::eval ( ) const
inlinevirtual
Returns
the literal's value.

Implements llvm::FileCheckExpressionAST.

Definition at line 54 of file FileCheckImpl.h.


The documentation for this class was generated from the following file: