Files
swift-mirror/lib/TBDGen/tapi/Architecture.h
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

44 lines
1.2 KiB
C++

//===- tapi/Core/Architecture.h - Architecture ------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Defines architecture enum.
///
//===----------------------------------------------------------------------===//
#ifndef TAPI_CORE_ARCHITECTURE_H
#define TAPI_CORE_ARCHITECTURE_H
#include "LLVM.h"
#include "Defines.h"
#include "llvm/ADT/StringRef.h"
TAPI_NAMESPACE_INTERNAL_BEGIN
enum class Architecture : uint8_t {
#define ARCHINFO(arch, type, subtype) arch,
#include "Architecture.def"
#undef ARCHINFO
unknown, // this has to go last.
};
Architecture getArchType(uint32_t CPUType, uint32_t CPUSubType);
Architecture getArchType(StringRef name);
StringRef getArchName(Architecture arch);
std::pair<uint32_t, uint32_t> getCPUType(Architecture arch);
raw_ostream &operator<<(raw_ostream &os, Architecture arch);
const DiagnosticBuilder &operator<<(const DiagnosticBuilder &db,
Architecture arch);
TAPI_NAMESPACE_INTERNAL_END
#endif // TAPI_CORE_ARCHITECTURE_H