forked from OSchip/llvm-project
parent
dedab912c3
commit
c1d535af05
|
@ -22,7 +22,6 @@ namespace lld {
|
|||
const std::error_category &YamlReaderCategory();
|
||||
|
||||
enum class YamlReaderError {
|
||||
success = 0,
|
||||
unknown_keyword,
|
||||
illegal_value
|
||||
};
|
||||
|
|
|
@ -24,8 +24,6 @@ public:
|
|||
|
||||
std::string message(int ev) const override {
|
||||
switch (static_cast<YamlReaderError>(ev)) {
|
||||
case YamlReaderError::success:
|
||||
return "Success";
|
||||
case YamlReaderError::unknown_keyword:
|
||||
return "Unknown keyword found in yaml file";
|
||||
case YamlReaderError::illegal_value:
|
||||
|
|
Loading…
Reference in New Issue