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

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 5 01:24:22 PST 2018


hokein created this revision.
hokein added a reviewer: ilya-biryukov.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay, ioeric, javed.absar.

Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D55312

Files:
  unittests/clangd/TUSchedulerTests.cpp


Index: unittests/clangd/TUSchedulerTests.cpp
===================================================================
--- unittests/clangd/TUSchedulerTests.cpp
+++ 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.176775.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181205/7862899b/attachment-0001.bin>


More information about the cfe-commits mailing list