Home | History | Annotate | Download | only in Lex

Lines Matching refs:Framework

573 /// \brief For a framework module, infer the framework against which we
577 assert(Mod->IsFramework && "Can only infer linking for framework modules");
585 // The library name of a framework has more than one possible extension since
609 // we might be looking at an embedded framework that symlinks out to a
610 // top-level framework, and we need to infer as if we were naming the
611 // top-level framework.
628 // If the framework has a parent path from which we're allowed to infer
629 // a framework module, do so.
645 bool IsFrameworkDir = Parent.endswith(".framework");
673 // If we're not allowed to infer a framework module, don't.
686 // framework to load *everything*. But, it's not clear that this is a good
712 // a framework module.
730 if (!StringRef(Dir->path()).endswith(".framework"))
738 // out to a top-level framework.
762 // If the module is a top-level framework, automatically link against the
763 // framework.
1074 void parseInferredModuleDecl(bool Framework, bool Explicit);
1121 .Case("framework", MMToken::FrameworkKeyword)
1299 /// 'explicit'[opt] 'framework'[opt] 'module' module-id attributes[opt]
1320 // Parse 'explicit' or 'framework' keyword, if present.
1323 bool Framework = false;
1331 // Parse 'framework' keyword, if present.
1334 Framework = true;
1349 return parseInferredModuleDecl(Framework, Explicit);
1452 ActiveModule = Map.findOrCreateModule(ModuleName, ActiveModule, Framework,
1540 // If the active module is a top-level framework, and there are no link
1541 // libraries, automatically link against the framework.
1700 // Collect the framework names from the given module to the top-level module.
1710 // Add Frameworks/Name.framework for each subframework.
1712 llvm::sys::path::append(Path, "Frameworks", Paths[I-1] + ".framework");
2033 /// 'link' 'framework'[opt] string-literal
2038 // Parse the optional 'framework' keyword.
2167 /// 'explicit'[opt] 'framework'[opt] 'module' * attributes[opt]
2173 void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
2179 if (!ActiveModule && !Framework) {
2201 // Check for the 'framework' keyword, which is not permitted here.
2202 if (Framework) {
2204 Framework = false;
2233 // We'll be inferring framework modules for this directory.
2237 // FIXME: Handle the 'framework' keyword.