Home
last modified time | relevance | path

Searched refs:MaybeRemark (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/unittests/Remarks/
DYAMLRemarksParsingTest.cpp407 Expected<std::unique_ptr<remarks::Remark>> MaybeRemark = Parser.next(); in TEST() local
409 errorToBool(MaybeRemark.takeError())); // Check for parsing errors. in TEST()
410 EXPECT_TRUE(*MaybeRemark != nullptr); // At least one remark. in TEST()
412 const remarks::Remark &Remark = **MaybeRemark; in TEST()
461 MaybeRemark = Parser.next(); in TEST()
462 Error E = MaybeRemark.takeError(); in TEST()
579 Expected<std::unique_ptr<remarks::Remark>> MaybeRemark = Parser.next(); in TEST() local
581 errorToBool(MaybeRemark.takeError())); // Check for parsing errors. in TEST()
582 EXPECT_TRUE(*MaybeRemark != nullptr); // At least one remark. in TEST()
584 const remarks::Remark &Remark = **MaybeRemark; in TEST()
[all …]
DBitstreamRemarksParsingTest.cpp165 Expected<std::unique_ptr<remarks::Remark>> MaybeRemark = Parser.next(); in TEST() local
167 errorToBool(MaybeRemark.takeError())); // Check for parsing errors. in TEST()
168 EXPECT_TRUE(*MaybeRemark != nullptr); // At least one remark. in TEST()
170 const remarks::Remark &Remark = **MaybeRemark; in TEST()
219 MaybeRemark = Parser.next(); in TEST()
220 Error E = MaybeRemark.takeError(); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemarkParser.cpp147 Expected<std::unique_ptr<Remark>> MaybeRemark = TheParser.next(); in LLVMRemarkParserGetNext() local
148 if (Error E = MaybeRemark.takeError()) { in LLVMRemarkParserGetNext()
161 return wrap(MaybeRemark->release()); in LLVMRemarkParserGetNext()
/external/llvm-project/llvm/lib/Remarks/
DRemarkParser.cpp147 Expected<std::unique_ptr<Remark>> MaybeRemark = TheParser.next(); in LLVMRemarkParserGetNext() local
148 if (Error E = MaybeRemark.takeError()) { in LLVMRemarkParserGetNext()
161 return wrap(MaybeRemark->release()); in LLVMRemarkParserGetNext()
/external/llvm-project/llvm/tools/llvm-opt-report/
DOptReport.cpp178 Expected<std::unique_ptr<remarks::Remark>> MaybeRemark = Parser.next(); in readLocationInfo() local
179 if (!MaybeRemark) { in readLocationInfo()
180 Error E = MaybeRemark.takeError(); in readLocationInfo()
193 const remarks::Remark &Remark = **MaybeRemark; in readLocationInfo()