]> granicus.if.org Git - clang/commitdiff
Support lit fixes for PR8199
authorDavid Greene <greened@obbligato.org>
Mon, 3 Jan 2011 17:28:52 +0000 (17:28 +0000)
committerDavid Greene <greened@obbligato.org>
Mon, 3 Jan 2011 17:28:52 +0000 (17:28 +0000)
Replace "clang++" with "clang\+\+" because we have to escape regexp
special characters now.  This is in preparation for changes to lit to
fix PR8199.  Tests will fail until the lit part gets committed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122753 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 071284f955371f5164618402ee6410a0b74304e4..5dec8ff477b55a0547e6d743bc3cac5666c1be7c 100644 (file)
@@ -138,7 +138,7 @@ config.substitutions.append( ('%test_debuginfo', ' ' + config.llvm_src_root + '/
 config.substitutions.append(
     (' clang ', """*** Do not use 'clang' in tests, use '%clang'. ***""") )
 config.substitutions.append(
-    (' clang++ ', """*** Do not use 'clang++' in tests, use '%clangxx'. ***"""))
+    (' clang\+\+ ', """*** Do not use 'clang++' in tests, use '%clangxx'. ***"""))
 config.substitutions.append(
     (' clang-cc ',
      """*** Do not use 'clang-cc' in tests, use '%clang_cc1'. ***""") )