Home | History | Annotate | Download | only in Lex

Lines Matching defs:Framework

87   fprintf(stderr, "%d framework lookups.\n", NumFrameworkLookups);
144 // Search for or infer a module map for a framework.
147 llvm::sys::path::append(FrameworkDirName, ModuleName + ".framework");
269 /// \brief Given a framework directory, find the top-most framework directory.
272 /// \param DirName The name of the framework directory.
274 /// returned top-level module to the originally named framework.
278 assert(llvm::sys::path::extension(DirName) == ".framework" &&
279 "Not a framework directory");
286 // #include <Foo/Frameworks/Bar.framework/Headers/Wibble.h>
288 // where 'Bar' used to be embedded in 'Foo', is now a top-level framework
293 // Similar issues occur when a top-level framework has moved into an
294 // embedded framework.
308 // If this is a framework directory, then we're a subframework of this
309 // framework.
310 if (llvm::sys::path::extension(DirName) == ".framework") {
320 /// DirectoryLookup, which is a framework directory.
331 // Framework names must have a '/' in the filename.
335 // Find out if this is the home for the specified framework, by checking
344 // Otherwise, construct the path to this framework dir.
356 // FrameworkName = "/System/Library/Frameworks/Cocoa.framework/"
357 FrameworkName += ".framework/";
363 // If the framework dir doesn't exist, we fail.
368 // framework.
371 // If this is a user search directory, check if the framework has been
372 // user-specified as a system framework.
382 // Set the 'user-specified system framework' flag.
390 // Check "/System/Library/Frameworks/Cocoa.framework/Headers/file.h"
405 // Check "/System/Library/Frameworks/Cocoa.framework/PrivateHeaders/file.h"
418 // Find the framework in which this header occurs.
432 // If this is a framework directory, then we're a subframework of this
433 // framework.
434 if (llvm::sys::path::extension(FrameworkPath) == ".framework") {
441 // Find the top-level framework based on this framework.
446 // Determine the name of the top-level framework.
449 // Load this framework module. If that succeeds, find the suggested module
530 StringRef Framework = FromHFI.Framework;
535 ToHFI.Framework = Framework;
594 // If the directory characteristic is User but this framework was
595 // user-specified to be treated as a system framework, promote the
610 // If this file is found in a header map and uses the framework style of
611 // includes, then this header is part of a framework we're building.
616 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
627 // a header in a framework that is currently being built, and we couldn't
629 // "Foo" is the name of the framework in which the including header was found.
634 ScratchFilename += IncludingHFI.Framework;
657 /// within ".../Carbon.framework/Headers/Carbon.h", check to see if HIToolbox
658 /// is a subframework within Carbon.framework. If so, return the FileEntry
668 // Framework names must have a '/' in the filename. Find it.
673 // Look up the base framework name of the ContextFileEnt.
676 // If the context info wasn't a framework, couldn't be a subframework.
678 const char *FrameworkPos = strstr(ContextName, ".framework");
686 // Append Frameworks/HIToolbox.framework/
689 FrameworkName += ".framework/";
705 // If the framework dir doesn't exist, we fail.
710 // framework.
721 // Check ".../Frameworks/HIToolbox.framework/Headers/HIToolbox.h"
733 // Check ".../Frameworks/HIToolbox.framework/PrivateHeaders/HIToolbox.h"
757 // Find the top-level framework based on this framework.
763 // Determine the name of the top-level framework.
766 // Load this framework module. If that succeeds, find the suggested module
823 if (HFI.Framework.empty())
824 HFI.Framework = OtherHFI.Framework;
914 StringRef HeaderSearch::getUniqueFrameworkName(StringRef Framework) {
915 return FrameworkNames.GetOrCreateValue(Framework).getKey();
1013 // Figure out the top-level framework directory and the submodule path from
1014 // that top-level framework to the requested framework.
1021 // Try to infer a module map from the top-level framework directory.
1029 // Follow the submodule path to find the requested (sub)framework module
1030 // within the top-level framework module.
1102 // Search each of the ".framework" directories to load them as modules.
1106 if (llvm::sys::path::extension(Dir->path()) != ".framework")
1113 // Load this framework module.