Searched refs:getValueOr (Results 1 – 4 of 4) sorted by relevance
174 EXPECT_EQ(42, A.getValueOr(42)); in TEST_F()177 EXPECT_EQ(5, A.getValueOr(42)); in TEST_F()365 EXPECT_EQ(42, std::move(A).getValueOr(MoveOnly(42)).val); in TEST_F()372 EXPECT_EQ(5, std::move(A).getValueOr(MoveOnly(42)).val); in TEST_F()
132 LLVM_CONSTEXPR T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION { in getValueOr() function141 T getValueOr(U &&value) && { in getValueOr() function
617 MSVT = VersionTuple(MSVT.getMajor(), MSVT.getMinor().getValueOr(0), in ComputeEffectiveClangTriple()618 MSVT.getSubminor().getValueOr(0)); in ComputeEffectiveClangTriple()
1610 VT.getMinor().getValueOr(0) * 100000 + in ParseLangArgs()1611 VT.getSubminor().getValueOr(0); in ParseLangArgs()