Skip to content

Commit 6893e93

Browse files
[Tooling] Remove a redundant call to std::unique_ptr<T>::get (NFC)
1 parent fadd427 commit 6893e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Tooling/DependencyScanning/DependencyScanningFilesystemTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ TEST(DependencyScanningFilesystem, DiagnoseStaleStatFailures) {
197197
EXPECT_EQ(Path1Exists, false);
198198

199199
std::vector<llvm::StringRef> InvalidPaths =
200-
SharedCache.getInvalidNegativeStatCachedPaths(*InMemoryFS.get());
200+
SharedCache.getInvalidNegativeStatCachedPaths(*InMemoryFS);
201201

202202
EXPECT_EQ(InvalidPaths.size(), 1u);
203203
ASSERT_STREQ("/path1.suffix", InvalidPaths[0].str().c_str());

0 commit comments

Comments
 (0)