[PATCH] D142890: [clangd] Add config option for fast diagnostics mode
    Sam McCall via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Feb 16 10:31:26 PST 2023
    
    
  
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/unittests/PreambleTests.cpp:235
   MockFS FS;
-  auto TU = TestTU::withCode(Modified);
+  auto &TU = PreambleTU;
+  TU.Code = Modified.str();
----------------
now there's only one variable used for both - just rename it instead?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142890/new/
https://reviews.llvm.org/D142890
    
    
More information about the cfe-commits
mailing list