Index: clang/test/Analysis/diagnostics/plist-multi-file.c =================================================================== --- clang/test/Analysis/diagnostics/plist-multi-file.c +++ clang/test/Analysis/diagnostics/plist-multi-file.c @@ -199,7 +199,7 @@ // CHECK-NEXT: // CHECK-NEXT: HTMLDiagnostics_files // CHECK-NEXT: -// CHECK-NEXT: report-{{([0-9a-f]{6})}}.html +// CHECK-NEXT: report-{{([0-9a-v]{6})}}.html // CHECK-NEXT: // CHECK-NEXT: // CHECK-NEXT: Index: llvm/lib/Support/Path.cpp =================================================================== --- llvm/lib/Support/Path.cpp +++ llvm/lib/Support/Path.cpp @@ -198,7 +198,8 @@ for (unsigned i = 0, e = ModelStorage.size(); i != e; ++i) { if (ModelStorage[i] == '%') ResultPath[i] = - "0123456789abcdef"[sys::Process::GetRandomNumber() & 15]; + "0123456789abcdefghijklmnopqrstuv"[sys::Process::GetRandomNumber() & + 31]; } // Try to open + create the file. Index: llvm/unittests/Support/Path.cpp =================================================================== --- llvm/unittests/Support/Path.cpp +++ llvm/unittests/Support/Path.cpp @@ -703,8 +703,8 @@ } }; - // We should be able to create exactly 16 temporary files. - for (int i = 0; i < 16; ++i) + // We should be able to create exactly 32 temporary files. + for (int i = 0; i < 32; ++i) EXPECT_TRUE(TryCreateTempFile()); EXPECT_FALSE(TryCreateTempFile());