LLVM 20.0.0git
|
Class representing the use of a numeric variable in the AST of an expression. More...
#include "FileCheck/FileCheckImpl.h"
Public Member Functions | |
NumericVariableUse (StringRef Name, NumericVariable *Variable) | |
Expected< APInt > | eval () const override |
Expected< ExpressionFormat > | getImplicitFormat (const SourceMgr &SM) const override |
Public Member Functions inherited from llvm::ExpressionAST | |
ExpressionAST (StringRef ExpressionStr) | |
virtual | ~ExpressionAST ()=default |
StringRef | getExpressionStr () const |
virtual Expected< APInt > | eval () const =0 |
Evaluates and. | |
virtual Expected< ExpressionFormat > | getImplicitFormat (const SourceMgr &SM) const |
Class representing the use of a numeric variable in the AST of an expression.
Definition at line 280 of file FileCheckImpl.h.
|
inline |
Definition at line 286 of file FileCheckImpl.h.
Implements llvm::ExpressionAST.
Definition at line 195 of file FileCheck.cpp.
References llvm::ExpressionAST::getExpressionStr(), and llvm::NumericVariable::getValue().
|
inlineoverridevirtual |
Reimplemented from llvm::ExpressionAST.
Definition at line 293 of file FileCheckImpl.h.
References llvm::NumericVariable::getImplicitFormat().