Home | History | Annotate | Download | only in Lex

Lines Matching refs:Framework

586 /// \brief For a framework module, infer the framework against which we
590 assert(Mod->IsFramework && "Can only infer linking for framework modules");
614 // If the framework has a parent path from which we're allowed to infer
615 // a framework module, do so.
621 // we might be looking at an embedded framework that symlinks out to a
622 // top-level framework, and we need to infer as if we were naming the
623 // top-level framework.
639 bool IsFrameworkDir = Parent.endswith(".framework");
666 // If we're not allowed to infer a framework module, don't.
679 // framework to load *everything*. But, it's not clear that this is a good
717 if (!StringRef(Dir->path()).endswith(".framework"))
725 // out to a top-level framework.
752 // If the module is a top-level framework, automatically link against the
753 // framework.
1023 void parseInferredModuleDecl(bool Framework, bool Explicit);
1068 .Case("framework", MMToken::FrameworkKeyword)
1245 /// 'explicit'[opt] 'framework'[opt] 'module' module-id attributes[opt]
1266 // Parse 'explicit' or 'framework' keyword, if present.
1269 bool Framework = false;
1277 // Parse 'framework' keyword, if present.
1280 Framework = true;
1295 return parseInferredModuleDecl(Framework, Explicit);
1394 Framework, Explicit).first;
1490 // If the active module is a top-level framework, and there are no link
1491 // libraries, automatically link against the framework.
1605 // Collect the framework names from the given module to the top-level module.
1615 // Add Frameworks/Name.framework for each subframework.
1617 llvm::sys::path::append(Path, "Frameworks", Paths[I-1] + ".framework");
1857 /// 'link' 'framework'[opt] string-literal
1862 // Parse the optional 'framework' keyword.
1989 /// 'explicit'[opt] 'framework'[opt] 'module' * attributes[opt]
1995 void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
2001 if (!ActiveModule && !Framework) {
2023 // Check for the 'framework' keyword, which is not permitted here.
2024 if (Framework) {
2026 Framework = false;
2055 // We'll be inferring framework modules for this directory.
2059 // FIXME: Handle the 'framework' keyword.
2272 if (DirName.endswith(".framework"))