[PATCH] D55312: [clangd] Fix a typo in TUSchedulerTests

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 6 00:59:21 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348467: [clangd] Fix a typo in TUSchedulerTests (authored by hokein, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55312/new/

https://reviews.llvm.org/D55312

Files:
  clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp


Index: clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp
===================================================================
--- clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp
+++ clang-tools-extra/trunk/unittests/clangd/TUSchedulerTests.cpp
@@ -593,7 +593,7 @@
   ASSERT_FALSE(DoUpdate(SourceContents));
 
   // Update to a header should cause a rebuild, though.
-  Files[Header] = time_t(1);
+  Timestamps[Header] = time_t(1);
   ASSERT_TRUE(DoUpdate(SourceContents));
   ASSERT_FALSE(DoUpdate(SourceContents));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55312.176934.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181206/016011bb/attachment.bin>


More information about the cfe-commits mailing list