#include "clang/InstallAPI/DirectoryScanner.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/TextAPI/DylibReader.h"
usingnamespacellvm;
usingnamespacellvm::MachO;
namespace clang::installapi {
HeaderSeq DirectoryScanner::getHeaders(ArrayRef<Library> Libraries) { … }
llvm::Error DirectoryScanner::scan(StringRef Directory) { … }
llvm::Error DirectoryScanner::scanForUnwrappedLibraries(StringRef Directory) { … }
static bool isFramework(StringRef Path) { … }
Library &
DirectoryScanner::getOrCreateLibrary(StringRef Path,
std::vector<Library> &Libs) const { … }
Error DirectoryScanner::scanHeaders(StringRef Path, Library &Lib,
HeaderType Type, StringRef BasePath,
StringRef ParentPath) const { … }
llvm::Error
DirectoryScanner::scanMultipleFrameworks(StringRef Directory,
std::vector<Library> &Libs) const { … }
llvm::Error
DirectoryScanner::scanSubFrameworksDirectory(StringRef Directory,
std::vector<Library> &Libs) const { … }
llvm::Error
DirectoryScanner::scanFrameworkVersionsDirectory(StringRef Path,
Library &Lib) const { … }
llvm::Error DirectoryScanner::scanFrameworkDirectory(StringRef Path,
Library &Framework) const { … }
llvm::Error DirectoryScanner::scanForFrameworks(StringRef Directory) { … }
}