#include "clang/InstallAPI/FileList.h"
|
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.
|
|
Definition at line 25 of file FileList.h.
◆ FileListReader()
clang::installapi::FileListReader::FileListReader |
( |
| ) |
|
|
delete |
◆ 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
-
InputBuffer | JSON input data. |
Destination | Container to load headers into. |
FM | Optional File Manager to validate input files exist. |
Definition at line 179 of file FileList.cpp.
The documentation for this class was generated from the following files: