================
@@ -63,26 +63,90 @@ DarwinSDKInfo::RelatedTargetVersionMapping::parseJSON(
       Min, Max, MinValue, MaximumDeploymentTarget, std::move(Mapping));
 }
 
-static llvm::Triple::OSType parseOS(const llvm::json::Object &Obj) {
+static std::pair<llvm::Triple, std::unordered_map<llvm::Triple, std::string,
+                                                  DarwinSDKInfo::TripleHash,
+                                                  
DarwinSDKInfo::TripleEqualTo>>
+parseSupportedTargets(const llvm::json::Object &Obj, VersionTuple Version) {
----------------
cyndyishida wrote:

If this function is now returning SystemPrefixes, that should be obvious from 
the function name. e.g. `getTriplesAndSystemPrefixes`

https://github.com/llvm/llvm-project/pull/171970
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to