//===-- BitcodeReader.h - ClangDoc Bitcode Reader --------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements a reader for parsing the clang-doc internal // representation from LLVM bitcode. The reader takes in a stream of bits and // generates the set of infos that it represents. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_BITCODEREADER_H #define LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_BITCODEREADER_H #include "BitcodeWriter.h" #include "Representation.h" #include "clang/AST/AST.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Bitstream/BitstreamReader.h" #include "llvm/Support/Error.h" #include <optional> namespace clang { namespace doc { // Class to read bitstream into an InfoSet collection class ClangDocBitcodeReader { … }; } // namespace doc } // namespace clang #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_BITCODEREADER_H