#pragma once #include "Diagnostic.h" namespace clice { /// Represents the preamble of a translation unit. /// We build preamble for the translation after first edit. /// The preamble is used to speed up the reparse of the translation unit. struct Preamble { clang::PrecompiledPreamble data; static std::unique_ptr build(llvm::StringRef filename, llvm::StringRef content, std::vector& args); }; } // namespace clice