Home
last modified time | relevance | path

Searched refs:ImplicitFormat (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp653 Expected<ExpressionFormat> ImplicitFormat = Ten.getImplicitFormat(SM); in TEST_F() local
654 ASSERT_THAT_EXPECTED(ImplicitFormat, Succeeded()); in TEST_F()
655 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::NoFormat); in TEST_F()
705 Expected<ExpressionFormat> ImplicitFormat = FooVarUse.getImplicitFormat(SM); in TEST_F() local
706 ASSERT_THAT_EXPECTED(ImplicitFormat, Succeeded()); in TEST_F()
707 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned); in TEST_F()
771 Expected<ExpressionFormat> ImplicitFormat = Binop.getImplicitFormat(SM); in TEST_F() local
772 ASSERT_THAT_EXPECTED(ImplicitFormat, Succeeded()); in TEST_F()
773 EXPECT_EQ(*ImplicitFormat, ExpressionFormat::Kind::Unsigned); in TEST_F()
796 ImplicitFormat = Binop.getImplicitFormat(SM); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/FileCheck/
DFileCheckImpl.h263 ExpressionFormat ImplicitFormat; variable
281 explicit NumericVariable(StringRef Name, ExpressionFormat ImplicitFormat,
283 : Name(Name), ImplicitFormat(ImplicitFormat), in Name()
290 ExpressionFormat getImplicitFormat() const { return ImplicitFormat; } in getImplicitFormat()
747 Optional<size_t> LineNumber, ExpressionFormat ImplicitFormat,
DFileCheck.cpp464 Optional<size_t> LineNumber, ExpressionFormat ImplicitFormat, in parseNumericVariableDefinition() argument
491 if (DefinedNumericVariable->getImplicitFormat() != ImplicitFormat) in parseNumericVariableDefinition()
496 Context->makeNumericVariable(Name, ImplicitFormat, LineNumber); in parseNumericVariableDefinition()
861 Expected<ExpressionFormat> ImplicitFormat = in parseNumericSubstitutionBlock() local
863 if (!ImplicitFormat) in parseNumericSubstitutionBlock()
864 return ImplicitFormat.takeError(); in parseNumericSubstitutionBlock()
865 Format = *ImplicitFormat; in parseNumericSubstitutionBlock()