Searched refs:dash_pos (Results 1 – 1 of 1) sorted by relevance
699 size_t dash_pos = vendor_os.find('-'); in ParseMachCPUDashSubtypeTriple() local700 if (dash_pos != llvm::StringRef::npos) in ParseMachCPUDashSubtypeTriple()702 llvm::StringRef vendor_str(vendor_os.substr(0, dash_pos)); in ParseMachCPUDashSubtypeTriple()704 const size_t vendor_start_pos = dash_pos+1; in ParseMachCPUDashSubtypeTriple()705 dash_pos = vendor_os.find('-', vendor_start_pos); in ParseMachCPUDashSubtypeTriple()706 if (dash_pos == llvm::StringRef::npos) in ParseMachCPUDashSubtypeTriple()713 … arch.GetTriple().setOSName(vendor_os.substr(vendor_start_pos, dash_pos - vendor_start_pos)); in ParseMachCPUDashSubtypeTriple()