Home
last modified time | relevance | path

Searched refs:ValueOr (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyCheck.h278 if (llvm::Expected<T> ValueOr = get<T>(LocalName)) in get() local
279 return *ValueOr; in get()
281 reportOptionParsingError(ValueOr.takeError()); in get()
297 llvm::Expected<std::string> ValueOr = get(LocalName); in getLocalOrGlobal() local
299 if (!ValueOr) { in getLocalOrGlobal()
301 llvm::consumeError(ValueOr.takeError()); in getLocalOrGlobal()
302 ValueOr = getLocalOrGlobal(LocalName); in getLocalOrGlobal()
303 if (!ValueOr) in getLocalOrGlobal()
304 return std::move(ValueOr.takeError()); in getLocalOrGlobal()
307 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal()
[all …]
DClangTidyCheck.cpp125 llvm::Expected<std::string> ValueOr = get(LocalName); in get() local
126 if (ValueOr) in get()
127 return getAsBool(*ValueOr, NamePrefix + LocalName); in get()
128 return ValueOr.takeError(); in get()
134 llvm::Expected<bool> ValueOr = get<bool>(LocalName); in get() local
135 if (ValueOr) in get()
136 return *ValueOr; in get()
137 reportOptionParsingError(ValueOr.takeError()); in get()
153 llvm::Expected<bool> ValueOr = getLocalOrGlobal<bool>(LocalName); in getLocalOrGlobal() local
154 if (ValueOr) in getLocalOrGlobal()
[all …]
/external/pigweed/pw_result/
Dresult_test.cc35 TEST(Result, ValueOr) { in TEST() argument
/external/libchrome/base/
Doptional_unittest.cc1032 TEST(OptionalTest, ValueOr) { in TEST() argument
/external/perfetto/src/base/
Doptional_unittest.cc1048 TEST(OptionalTest, ValueOr) { in TEST() argument
/external/openscreen/third_party/abseil/src/absl/types/
Doptional_test.cc1106 TEST(optionalTest, ValueOr) { in TEST() argument
/external/webrtc/third_party/abseil-cpp/absl/types/
Doptional_test.cc1108 TEST(optionalTest, ValueOr) { in TEST() argument
/external/libtextclassifier/abseil-cpp/absl/types/
Doptional_test.cc1106 TEST(optionalTest, ValueOr) { in TEST() argument
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Doptional_test.cc1106 TEST(optionalTest, ValueOr) { in TEST() argument
/external/angle/third_party/abseil-cpp/absl/types/
Doptional_test.cc1106 TEST(optionalTest, ValueOr) { in TEST() argument
/external/abseil-cpp/absl/types/
Doptional_test.cc1108 TEST(optionalTest, ValueOr) { in TEST() argument