17#ifndef LLVM_CLANG_EXTRACTAPI_SERIALIZATION_SYMBOLGRAPHSERIALIZER_H
18#define LLVM_CLANG_EXTRACTAPI_SERIALIZATION_SYMBOLGRAPHSERIALIZER_H
23#include "llvm/ADT/SmallVector.h"
24#include "llvm/ADT/StringSet.h"
25#include "llvm/Support/JSON.h"
26#include "llvm/Support/VersionTuple.h"
27#include "llvm/Support/raw_ostream.h"
54 static const VersionTuple FormatVersion;
106 Object serializeCurrentGraph();
112 Object serializeMetadata()
const;
120 Object serializeModule()
const;
135 template <
typename RecordTy>
136 std::optional<Object> serializeAPIRecord(
const RecordTy &
Record)
const;
140 template <
typename MemberTy>
142 const SmallVector<std::unique_ptr<MemberTy>> &Members);
235 bool ShouldRecurse =
true)
This file defines the APIRecord-based structs and the APISet class.
llvm::MachO::Target Target
llvm::MachO::Record Record
This file defines the ExtractAPI APISetVisitor interface.
The JSON file list parser is used to communicate input to InstallAPI.