================
@@ -1151,6 +1151,13 @@ std::string Triple::normalize(StringRef Str) {
     }
   }
 
+  // For 3-component triples, the middle component is used to set Vendor;
----------------
MaskRay wrote:

Suggested comment

If "none" is in the middle component in a three-component triple, treat it as
the OS (Components[2]) instead of the vendor (Components[1]).


https://github.com/llvm/llvm-project/pull/89638
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to