[PATCH] D75259: [clangd] Get rid of unnecssary source transformations in locateMacroAt

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 05:53:47 PST 2020


hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/unittests/SourceCodeTests.cpp:440
+TEST(SourceCodeTests, WorksAtBeginOfFile) {
+  Annotations Code("^MACRO;");
+  TestTU TU = TestTU::withCode(Code.code());
----------------
nit: the trailing `;` seems not needed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75259





More information about the cfe-commits mailing list