//===-- RemarkStringTable.h - Serializing string table ----------*- 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 class is used to deduplicate and serialize a string table used for // generating remarks. // // For parsing a string table, use ParsedStringTable in RemarkParser.h // //===----------------------------------------------------------------------===// #ifndef LLVM_REMARKS_REMARKSTRINGTABLE_H #define LLVM_REMARKS_REMARKSTRINGTABLE_H #include "llvm/ADT/StringMap.h" #include "llvm/Support/Allocator.h" #include <vector> namespace llvm { class raw_ostream; class StringRef; namespace remarks { struct ParsedStringTable; struct Remark; /// The string table used for serializing remarks. /// This table can be for example serialized in a section to be consumed after /// the compilation. struct StringTable { … }; } // end namespace remarks } // end namespace llvm #endif // LLVM_REMARKS_REMARKSTRINGTABLE_H