1 //===-- Error.cpp -----------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 char ClusteringError::ID
;
16 void ClusteringError::log(raw_ostream
&OS
) const { OS
<< Msg
; }
18 std::error_code
ClusteringError::convertToErrorCode() const {
19 return inconvertibleErrorCode();
22 char SnippetCrash::ID
;
24 void SnippetCrash::log(raw_ostream
&OS
) const { OS
<< Msg
; }
26 std::error_code
SnippetCrash::convertToErrorCode() const {
27 return inconvertibleErrorCode();
30 } // namespace exegesis