clang 22.0.0git
clang::installapi::FileListReader Class Reference

#include "clang/InstallAPI/FileList.h"

Public Member Functions

 FileListReader ()=delete

Static Public Member Functions

static llvm::Error loadHeaders (std::unique_ptr< llvm::MemoryBuffer > InputBuffer, HeaderSeq &Destination, clang::FileManager *FM=nullptr)
 Decode JSON input and append header input into destination container.

Detailed Description

Definition at line 25 of file FileList.h.

Constructor & Destructor Documentation

◆ FileListReader()

clang::installapi::FileListReader::FileListReader ( )
delete

Member Function Documentation

◆ loadHeaders()

llvm::Error FileListReader::loadHeaders ( std::unique_ptr< llvm::MemoryBuffer > InputBuffer,
HeaderSeq & Destination,
clang::FileManager * FM = nullptr )
static

Decode JSON input and append header input into destination container.

Headers are loaded in the order they appear in the JSON input.

Parameters
InputBufferJSON input data.
DestinationContainer to load headers into.
FMOptional File Manager to validate input files exist.

Definition at line 177 of file FileList.cpp.


The documentation for this class was generated from the following files: