Pārlūkot izejas kodu

Fix LinkerTest::RunLinkMatParamToLib regex

Tex Riddell 7 gadi atpakaļ
vecāks
revīzija
5d7b61ec8d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tools/clang/unittests/HLSL/LinkerTest.cpp

+ 1 - 1
tools/clang/unittests/HLSL/LinkerTest.cpp

@@ -357,7 +357,7 @@ TEST_F(LinkerTest, RunLinkMatParamToLib) {
   Link(L"", L"lib_6_3", pLinker, {libName},
   Link(L"", L"lib_6_3", pLinker, {libName},
        // The bitcast cannot be removed because user function call use it as
        // The bitcast cannot be removed because user function call use it as
        // argument.
        // argument.
-       {"bitcast \\<12 x float\\>\\* \\%\\d+ to \\%class\\.matrix\\.float\\.4\\.3\\*"}, {}, {}, true);
+       {"bitcast <12 x float>\\* %.* to %class\\.matrix\\.float\\.4\\.3\\*"}, {}, {}, true);
 }
 }
 
 
 TEST_F(LinkerTest, RunLinkResRet) {
 TEST_F(LinkerTest, RunLinkResRet) {