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");
286 /// \brief Given a framework directory, find the top-most framework directory.
289 /// \param DirName The name of the framework directory.
291 /// returned top-level module to the originally named framework.
295 assert(llvm::sys::path::extension(DirName) == ".framework" &&
296 "Not a framework directory");
303 // #include <Foo/Frameworks/Bar.framework/Headers/Wibble.h>
305 // where 'Bar' used to be embedded in 'Foo', is now a top-level framework
310 // Similar issues occur when a top-level framework has moved into an
311 // embedded framework.
325 // If this is a framework directory, then we're a subframework of this
326 // framework.
327 if (llvm::sys::path::extension(DirName) == ".framework") {
337 /// DirectoryLookup, which is a framework directory.
348 // Framework names must have a '/' in the filename.
352 // Find out if this is the home for the specified framework, by checking
361 // Otherwise, construct the path to this framework dir.
373 // FrameworkName = "/System/Library/Frameworks/Cocoa.framework/"
374 FrameworkName += ".framework/";
380 // If the framework dir doesn't exist, we fail.
385 // framework.
388 // If this is a user search directory, check if the framework has been
389 // user-specified as a system framework.
399 // Set the 'user-specified system framework' flag.
407 // Check "/System/Library/Frameworks/Cocoa.framework/Headers/file.h"
422 // Check "/System/Library/Frameworks/Cocoa.framework/PrivateHeaders/file.h"
435 // Find the framework in which this header occurs.
449 // If this is a framework directory, then we're a subframework of this
450 // framework.
451 if (llvm::sys::path::extension(FrameworkPath) == ".framework") {
458 // Find the top-level framework based on this framework.
463 // Determine the name of the top-level framework.
466 // Load this framework module. If that succeeds, find the suggested module
547 StringRef Framework = FromHFI.Framework;
552 ToHFI.Framework = Framework;
611 // If the directory characteristic is User but this framework was
612 // user-specified to be treated as a system framework, promote the
627 // If this file is found in a header map and uses the framework style of
628 // includes, then this header is part of a framework we're building.
633 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
644 // a header in a framework that is currently being built, and we couldn't
646 // "Foo" is the name of the framework in which the including header was found.
651 ScratchFilename += IncludingHFI.Framework;
674 /// within ".../Carbon.framework/Headers/Carbon.h", check to see if HIToolbox
675 /// is a subframework within Carbon.framework. If so, return the FileEntry
685 // Framework names must have a '/' in the filename. Find it.
690 // Look up the base framework name of the ContextFileEnt.
693 // If the context info wasn't a framework, couldn't be a subframework.
695 const char *FrameworkPos = strstr(ContextName, ".framework");
703 // Append Frameworks/HIToolbox.framework/
706 FrameworkName += ".framework/";
722 // If the framework dir doesn't exist, we fail.
727 // framework.
738 // Check ".../Frameworks/HIToolbox.framework/Headers/HIToolbox.h"
750 // Check ".../Frameworks/HIToolbox.framework/PrivateHeaders/HIToolbox.h"
774 // Find the top-level framework based on this framework.
780 // Determine the name of the top-level framework.
783 // Load this framework module. If that succeeds, find the suggested module
840 if (HFI.Framework.empty())
841 HFI.Framework = OtherHFI.Framework;
928 StringRef HeaderSearch::getUniqueFrameworkName(StringRef Framework) {
929 return FrameworkNames.GetOrCreateValue(Framework).getKey();
1026 // Figure out the top-level framework directory and the submodule path from
1027 // that top-level framework to the requested framework.
1034 // Try to infer a module map from the top-level framework directory.
1042 // Follow the submodule path to find the requested (sub)framework module
1043 // within the top-level framework module.
1116 // Search each of the ".framework" directories to load them as modules.
1119 if (llvm::sys::path::extension(Dir->path()) != ".framework")
1126 // Load this framework module.