clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::installapi::DirectoryScanner Class Reference

#include "clang/InstallAPI/DirectoryScanner.h"

Public Member Functions

 DirectoryScanner (FileManager &FM, ScanMode Mode=ScanMode::ScanFrameworks)
 
llvm::Error scan (StringRef Directory)
 Scan for all input files throughout directory.
 
std::vector< LibrarytakeLibraries ()
 Take over ownership of stored libraries.
 

Static Public Member Functions

static HeaderSeq getHeaders (ArrayRef< Library > Libraries)
 Get all the header files in libraries.
 

Detailed Description

Definition at line 27 of file DirectoryScanner.h.

Constructor & Destructor Documentation

◆ DirectoryScanner()

clang::installapi::DirectoryScanner::DirectoryScanner ( FileManager FM,
ScanMode  Mode = ScanMode::ScanFrameworks 
)
inline

Definition at line 29 of file DirectoryScanner.h.

Member Function Documentation

◆ getHeaders()

HeaderSeq clang::installapi::DirectoryScanner::getHeaders ( ArrayRef< Library Libraries)
static

Get all the header files in libraries.

Parameters
LibrariesReference of collection of libraries.

Definition at line 19 of file DirectoryScanner.cpp.

◆ scan()

llvm::Error clang::installapi::DirectoryScanner::scan ( StringRef  Directory)

Scan for all input files throughout directory.

Parameters
DirectoryPath of input directory.

Definition at line 26 of file DirectoryScanner.cpp.

References clang::installapi::ScanFrameworks.

◆ takeLibraries()

std::vector< Library > clang::installapi::DirectoryScanner::takeLibraries ( )
inline

Take over ownership of stored libraries.

Definition at line 38 of file DirectoryScanner.h.


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