reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
826 CfgFileName = ConfigFiles.front(); 827 assert(!CfgFileName.empty()); 831 if (llvm::sys::path::has_parent_path(CfgFileName)) { 833 if (llvm::sys::path::is_relative(CfgFileName)) 835 llvm::sys::path::append(CfgFilePath, CfgFileName); 850 if (CfgFileName.empty() && !ClangNameParts.TargetPrefix.empty()) 851 CfgFileName = ClangNameParts.TargetPrefix + '-' + ClangNameParts.ModeSuffix; 853 if (CfgFileName.empty()) 857 StringRef CfgFileArch = CfgFileName; 867 if (!StringRef(CfgFileName).endswith(".cfg")) 868 CfgFileName += ".cfg"; 886 if (ArchPrefixLen < CfgFileName.size()) 887 FixedConfigFile += CfgFileName.substr(ArchPrefixLen); 910 if (searchForFile(CfgFilePath, CfgFileSearchDirs, CfgFileName)) 916 CfgFileName.assign(ClangNameParts.TargetPrefix); 917 CfgFileName.append(".cfg"); 918 if (searchForFile(CfgFilePath, CfgFileSearchDirs, CfgFileName)) 925 Diag(diag::err_drv_config_file_not_found) << CfgFileName;