Home | History | Annotate | Download | only in Lex

Lines Matching defs:Framework

375 /// \brief For a framework module, infer the framework against which we
379 assert(Mod->IsFramework && "Can only infer linking for framework modules");
403 // If the framework has a parent path from which we're allowed to infer
404 // a framework module, do so.
409 // we might be looking at an embedded framework that symlinks out to a
410 // top-level framework, and we need to infer as if we were naming the
411 // top-level framework.
453 // If we're not allowed to infer a framework module, don't.
466 // framework to load *everything*. But, it's not clear that this is a good
502 if (!StringRef(Dir->path()).endswith(".framework"))
510 // out to a top-level framework.
537 // If the module is a top-level framework, automatically link against the
538 // framework.
742 void parseInferredModuleDecl(bool Framework, bool Explicit);
783 .Case("framework", MMToken::FrameworkKeyword)
947 /// 'explicit'[opt] 'framework'[opt] 'module' module-id attributes[opt]
963 // Parse 'explicit' or 'framework' keyword, if present.
966 bool Framework = false;
974 // Parse 'framework' keyword, if present.
977 Framework = true;
992 return parseInferredModuleDecl(Framework, Explicit);
1084 ActiveModule = Map.findOrCreateModule(ModuleName, ActiveModule, Framework,
1155 // If the active module is a top-level framework, and there are no link
1156 // libraries, automatically link against the framework.
1207 // Collect the framework names from the given module to the top-level module.
1217 // Add Frameworks/Name.framework for each subframework.
1220 llvm::sys::path::append(Path, Paths[I-1] + ".framework");
1466 /// 'link' 'framework'[opt] string-literal
1471 // Parse the optional 'framework' keyword.
1495 /// 'explicit'[opt] 'framework'[opt] 'module' * attributes[opt]
1501 void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
1507 if (!ActiveModule && !Framework) {
1528 // Check for the 'framework' keyword, which is not permitted here.
1529 if (Framework) {
1531 Framework = false;
1560 // We'll be inferring framework modules for this directory.
1708 // If we have a framework directory, stop looking.