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
49 lines
1.3 KiB
C++
49 lines
1.3 KiB
C++
//===- tapi/Core/TextStub_v3.h - Text Stub v3 -------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
///
|
|
/// \file
|
|
/// Defines the content of a text stub v3 file.
|
|
///
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TAPI_CORE_TEXT_STUB_V3_H
|
|
#define TAPI_CORE_TEXT_STUB_V3_H
|
|
|
|
#include "File.h"
|
|
#include "LLVM.h"
|
|
#include "Registry.h"
|
|
#include "YAMLReaderWriter.h"
|
|
#include "Defines.h"
|
|
|
|
namespace llvm {
|
|
namespace yaml {
|
|
class IO;
|
|
} // namespace yaml
|
|
} // namespace llvm
|
|
|
|
TAPI_NAMESPACE_INTERNAL_BEGIN
|
|
|
|
namespace stub {
|
|
namespace v3 {
|
|
|
|
class YAMLDocumentHandler : public DocumentHandler {
|
|
bool canRead(MemoryBufferRef memBufferRef,
|
|
FileType types = FileType::All) const override;
|
|
FileType getFileType(MemoryBufferRef memBufferRef) const override;
|
|
bool canWrite(const File *file) const override;
|
|
bool handleDocument(llvm::yaml::IO &io, const File *&file) const override;
|
|
};
|
|
|
|
} // end namespace v3.
|
|
} // end namespace stub.
|
|
|
|
TAPI_NAMESPACE_INTERNAL_END
|
|
|
|
#endif // TAPI_CORE_TEXT_STUB_V3_H
|