forked from OSchip/llvm-project
UniqueHeaderNameTest.cpp: Appease valgrind.
llvm::sys::path::native(dst, dst) might be overridden-safe in most cases, though. llvm-svn: 188800
This commit is contained in:
parent
e62e279f97
commit
166b874696
|
@ -26,11 +26,11 @@ TEST(UniqueHeaderName, testUniqueHeaderName) {
|
|||
|
||||
llvm::SmallString<128> SourceFile(TmpDir);
|
||||
append(SourceFile, "project/lib/feature.cpp");
|
||||
native(SourceFile.c_str(), SourceFile);
|
||||
native(SourceFile.str().str(), SourceFile);
|
||||
|
||||
llvm::SmallString<128> HeaderFile(TmpDir);
|
||||
append(HeaderFile, "project/include/feature.h");
|
||||
native(HeaderFile.c_str(), HeaderFile);
|
||||
native(HeaderFile.str().str(), HeaderFile);
|
||||
|
||||
llvm::SmallString<128> ExpectedName("^feature.cpp_feature.h_[0-9a-f]{2}_[0-9a-f]{2}_[0-9a-f]{2}_[0-9a-f]{2}_[0-9a-f]{2}_[0-9a-f]{2}.yaml$");
|
||||
|
||||
|
|
Loading…
Reference in New Issue