mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
42 lines
1004 B
C++
42 lines
1004 B
C++
//===- tapi/Core/TapiError.h - 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
|
|
/// Define TAPI specific error codes.
|
|
///
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TAPI_CORE_TAPIERROR_H
|
|
#define TAPI_CORE_TAPIERROR_H
|
|
|
|
#include "LLVM.h"
|
|
#include "Defines.h"
|
|
#include "llvm/Support/Error.h"
|
|
|
|
TAPI_NAMESPACE_INTERNAL_BEGIN
|
|
|
|
enum class TapiErrorCode {
|
|
NoSuchArchitecture,
|
|
};
|
|
|
|
class TapiError : public llvm::ErrorInfo<TapiError> {
|
|
public:
|
|
static char ID;
|
|
TapiErrorCode ec;
|
|
|
|
TapiError(TapiErrorCode ec) : ec(ec) {}
|
|
|
|
void log(raw_ostream &os) const override;
|
|
std::error_code convertToErrorCode() const override;
|
|
};
|
|
|
|
TAPI_NAMESPACE_INTERNAL_END
|
|
|
|
#endif // TAPI_CORE_TAPIERROR_H
|