class ExpressionLiteral
Declaration
class ExpressionLiteral : public ExpressionAST { /* full declaration omitted */ };
Description
Class representing an unsigned literal in the AST of an expression.
Declared at: llvm/lib/Support/FileCheckImpl.h:44
Inherits from: ExpressionAST
Method Overview
- public ExpressionLiteral(uint64_t Val)
- public Expected<uint64_t> eval() const
Inherited from ExpressionAST:
Methods
¶ExpressionLiteral(uint64_t Val)
ExpressionLiteral(uint64_t Val)
Description
Constructs a literal with the specified value.
Declared at: llvm/lib/Support/FileCheckImpl.h:51
Parameters
- uint64_t Val
¶Expected<uint64_t> eval() const
Expected<uint64_t> eval() const
Declared at: llvm/lib/Support/FileCheckImpl.h:54
Returns
the literal's value.