Skip to content
Permalink
Browse files

[Remark] Suppress the "-Wreturn-type" compiler warning, NFC

llvm-svn: 366874
  • Loading branch information...
hokein committed Jul 24, 2019
1 parent f429ab6 commit 509ad30d85f9ef1692f764712bf1f97e107ddb07
Showing with 2 additions and 0 deletions.
  1. +2 −0 llvm/lib/Remarks/RemarkParser.cpp
@@ -60,6 +60,7 @@ llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf) {
return createStringError(std::make_error_code(std::errc::invalid_argument),
"Unknown remark parser format.");
}
llvm_unreachable("unhandled ParseFormat");
}

Expected<std::unique_ptr<Parser>>
@@ -76,6 +77,7 @@ llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf,
return createStringError(std::make_error_code(std::errc::invalid_argument),
"Unknown remark parser format.");
}
llvm_unreachable("unhandled ParseFormat");
}

// Wrapper that holds the state needed to interact with the C API.

0 comments on commit 509ad30

Please sign in to comment.
You can’t perform that action at this time.