Files
swift-mirror/lib/TBDGen/tapi/TapiError.cpp
Adrian Prantl ff63eaea6f Remove \brief commands from doxygen comments.
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.

Patch produced by

      for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
2018-12-04 15:45:04 -08:00

37 lines
923 B
C++

//===- lib/Core/TapiError.cpp - Tapi Error ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Implements TAPI Error.
///
//===----------------------------------------------------------------------===//
#include "TapiError.h"
using namespace llvm;
TAPI_NAMESPACE_INTERNAL_BEGIN
char TapiError::ID = 0;
void TapiError::log(raw_ostream &os) const {
switch (ec) {
case TapiErrorCode::NoSuchArchitecture:
os << "no such architecture\n";
return;
}
llvm_unreachable("unhandled TapiErrorCode");
}
std::error_code TapiError::convertToErrorCode() const {
llvm_unreachable("convertToErrorCode is not supported.");
}
TAPI_NAMESPACE_INTERNAL_END