#if USE_CLANG_CXX #pragma once #include #include struct ClangFormat { llvm::StringRef document_filename_; llvm::StringRef document_; llvm::ArrayRef ranges_; int tab_size_; bool insert_spaces_; ClangFormat(llvm::StringRef document_filename, llvm::StringRef document, llvm::ArrayRef ranges, int tab_size, bool insert_spaces); ~ClangFormat(); std::vector FormatWholeDocument(); }; #endif