Home
last modified time | relevance | path

Searched refs:ExpressionFormat (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/FileCheck/
H A DFileCheckImpl.h39 struct ExpressionFormat { struct
66 bool operator==(const ExpressionFormat &Other) const { argument
71 bool operator!=(const ExpressionFormat &Other) const {
82 ExpressionFormat() : Value(Kind::NoFormat){}; in ExpressionFormat() function
83 explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){}; in ExpressionFormat() argument
84 explicit ExpressionFormat(Kind Value, unsigned Precision) in ExpressionFormat() argument
86 explicit ExpressionFormat(Kind Value, unsigned Precision, bool AlternateForm) in ExpressionFormat() function
192 virtual Expected<ExpressionFormat>
194 return ExpressionFormat(); in getImplicitFormat()
243 ExpressionFormat Format;
[all …]
H A DFileCheck.cpp31 StringRef ExpressionFormat::toString() const { in toString()
47 Expected<std::string> ExpressionFormat::getWildcardRegex() const { in getWildcardRegex()
80 ExpressionFormat::getMatchingString(ExpressionValue IntegerValue) const { in getMatchingString()
128 ExpressionFormat::valueFromStringRepr(StringRef StrVal, in valueFromStringRepr()
391 Expected<ExpressionFormat>
393 Expected<ExpressionFormat> LeftFormat = LeftOperand->getImplicitFormat(SM); in getImplicitFormat()
394 Expected<ExpressionFormat> RightFormat = RightOperand->getImplicitFormat(SM); in getImplicitFormat()
404 if (*LeftFormat != ExpressionFormat::Kind::NoFormat && in getImplicitFormat()
405 *RightFormat != ExpressionFormat::Kind::NoFormat && in getImplicitFormat()
414 return *LeftFormat != ExpressionFormat::Kind::NoFormat ? *LeftFormat in getImplicitFormat()
[all …]