Skip to content

Commit ac9b778

Browse files
[Tooling] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#139431)
1 parent 85f3d60 commit ac9b778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Tooling/DependencyScanning/DependencyScanningFilesystemTest.cpp

+1-1
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)