Lines Matching refs:HeaderSearch
1 //===--- HeaderSearch.cpp - Resolve Header File Locations ---===//
10 // This file implements the DirectoryLookup and HeaderSearch interfaces.
14 #include "clang/Lex/HeaderSearch.h"
45 HeaderSearch::HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts,
63 HeaderSearch::~HeaderSearch() {
69 void HeaderSearch::PrintStats() {
70 fprintf(stderr, "\n*** HeaderSearch Stats:\n");
93 const HeaderMap *HeaderSearch::CreateHeaderMap(const FileEntry *FE) {
112 std::string HeaderSearch::getModuleFileName(Module *Module) {
123 std::string HeaderSearch::getModuleFileName(StringRef ModuleName) {
134 Module *HeaderSearch::lookupModule(StringRef ModuleName, bool AllowSearch) {
209 HeaderSearch &HS,
323 HeaderSearch &HS,
336 // HeaderSearch. Possible answers are yes/no and unknown.
337 HeaderSearch::FrameworkCacheEntry &CacheEntry =
462 void HeaderSearch::setTarget(const TargetInfo &Target) {
477 const FileEntry *HeaderSearch::LookupFile(
660 const FileEntry *HeaderSearch::
780 HeaderSearch::NormalizeDashIncludePath(StringRef File, FileManager &FileMgr) {
831 HeaderFileInfo &HeaderSearch::getFileInfo(const FileEntry *FE) {
841 bool HeaderSearch::isFileMultipleIncludeGuarded(const FileEntry *File) {
855 void HeaderSearch::MarkFileModuleHeader(const FileEntry *FE) {
863 void HeaderSearch::setHeaderFileInfoForUID(HeaderFileInfo HFI, unsigned UID) {
870 bool HeaderSearch::ShouldEnterIncludeFile(const FileEntry *File, bool isImport){
906 size_t HeaderSearch::getTotalMemory() const {
914 StringRef HeaderSearch::getUniqueFrameworkName(StringRef Framework) {
918 bool HeaderSearch::hasModuleMap(StringRef FileName,
960 Module *HeaderSearch::findModuleForHeader(const FileEntry *File) const {
972 bool HeaderSearch::loadModuleMapFile(const FileEntry *File) {
994 Module *HeaderSearch::loadFrameworkModule(StringRef Name,
1040 HeaderSearch::LoadModuleMapResult
1041 HeaderSearch::loadModuleMapFile(StringRef DirName) {
1048 HeaderSearch::LoadModuleMapResult
1049 HeaderSearch::loadModuleMapFile(const DirectoryEntry *Dir) {
1091 void HeaderSearch::collectAllModules(SmallVectorImpl<Module *> &Modules) {