Home | History | Annotate | Download | only in Lex

Lines Matching refs:Framework

91   fprintf(stderr, "%d framework lookups.\n", NumFrameworkLookups);
157 // Search for or infer a module map for a framework.
160 llvm::sys::path::append(FrameworkDirName, ModuleName + ".framework");
308 // Check if the headermap maps the filename to a framework include
310 // framework include.
336 /// \brief Given a framework directory, find the top-most framework directory.
339 /// \param DirName The name of the framework directory.
341 /// returned top-level module to the originally named framework.
345 assert(llvm::sys::path::extension(DirName) == ".framework" &&
346 "Not a framework directory");
353 // #include <Foo/Frameworks/Bar.framework/Headers/Wibble.h>
355 // where 'Bar' used to be embedded in 'Foo', is now a top-level framework
360 // Similar issues occur when a top-level framework has moved into an
361 // embedded framework.
375 // If this is a framework directory, then we're a subframework of this
376 // framework.
377 if (llvm::sys::path::extension(DirName) == ".framework") {
387 /// DirectoryLookup, which is a framework directory.
398 // Framework names must have a '/' in the filename.
402 // Find out if this is the home for the specified framework, by checking
411 // Otherwise, construct the path to this framework dir.
423 // FrameworkName = "/System/Library/Frameworks/Cocoa.framework/"
424 FrameworkName += ".framework/";
430 // If the framework dir doesn't exist, we fail.
435 // framework.
438 // If this is a user search directory, check if the framework has been
439 // user-specified as a system framework.
449 // Set the 'user-specified system framework' flag.
457 // Check "/System/Library/Frameworks/Cocoa.framework/Headers/file.h"
472 // Check "/System/Library/Frameworks/Cocoa.framework/PrivateHeaders/file.h"
485 // Find the framework in which this header occurs.
494 // If this is a framework directory, then we're a subframework of this
495 // framework.
496 if (llvm::sys::path::extension(FrameworkPath) == ".framework") {
508 // Find the top-level framework based on this framework.
513 // Determine the name of the top-level framework.
516 // Load this framework module. If that succeeds, find the suggested module
647 StringRef Framework = FromHFI.Framework;
652 ToHFI.Framework = Framework;
737 // If the directory characteristic is User but this framework was
738 // user-specified to be treated as a system framework, promote the
753 // If this file is found in a header map and uses the framework style of
754 // includes, then this header is part of a framework we're building.
759 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
776 // a header in a framework that is currently being built, and we couldn't
778 // "Foo" is the name of the framework in which the including header was found.
784 ScratchFilename += IncludingHFI.Framework;
820 /// within ".../Carbon.framework/Headers/Carbon.h", check to see if HIToolbox
821 /// is a subframework within Carbon.framework. If so, return the FileEntry
831 // Framework names must have a '/' in the filename. Find it.
836 // Look up the base framework name of the ContextFileEnt.
839 // If the context info wasn't a framework, couldn't be a subframework.
841 const char *FrameworkPos = strstr(ContextName, ".framework");
849 // Append Frameworks/HIToolbox.framework/
852 FrameworkName += ".framework/";
868 // If the framework dir doesn't exist, we fail.
873 // framework.
884 // Check ".../Frameworks/HIToolbox.framework/Headers/HIToolbox.h"
896 // Check ".../Frameworks/HIToolbox.framework/PrivateHeaders/HIToolbox.h"
920 // Find the top-level framework based on this framework.
926 // Determine the name of the top-level framework.
929 // Load this framework module. If that succeeds, find the suggested module
986 if (HFI.Framework.empty())
987 HFI.Framework = OtherHFI.Framework;
1086 StringRef HeaderSearch::getUniqueFrameworkName(StringRef Framework) {
1087 return FrameworkNames.GetOrCreateValue(Framework).getKey();
1202 // module.map at the framework root is also accepted.
1236 // Try to infer a module map from the framework directory.
1260 // E.g. Foo.framework/Modules/module.modulemap
1281 // Search each of the ".framework" directories to load them as modules.
1284 if (llvm::sys::path::extension(Dir->path()) != ".framework")
1291 // Load this framework module.