[libcxx] r220804 - Fix example in documentation of target triple sanitization.

Eric Fiselier eric at efcs.ca
Tue Oct 28 11:03:38 PDT 2014


Author: ericwf
Date: Tue Oct 28 13:03:38 2014
New Revision: 220804

URL: http://llvm.org/viewvc/llvm-project?rev=220804&view=rev
Log:
Fix example in documentation of target triple sanitization.

Modified:
    libcxx/trunk/test/lit.cfg

Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=220804&r1=220803&r2=220804&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Tue Oct 28 13:03:38 2014
@@ -455,7 +455,7 @@ class Configuration(object):
                 [self.cxx, '-dumpmachine']).strip()
             # Drop sub-major version components from the triple, because the
             # current XFAIL handling expects exact matches for feature checks.
-            # Example: x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu.
+            # Example: x86_64-apple-darwin14.0.0 -> x86_64-apple-darwin14
             # The 5th group handles triples greater than 3 parts
             # (ex x86_64-pc-linux-gnu).
             target_triple = re.sub(r'([^-]+)-([^-]+)-([^.]+)([^-]*)(.*)',





More information about the cfe-commits mailing list