[PATCH] D68020: [clangd] Fix parseNamespaceEvents to parse the last token

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 25 07:04:17 PDT 2019


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:429
+            // Parse until EOF
+            namespace bar{})cpp",
+          {""},
----------------
could you also add an "empty string" test case?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68020





More information about the cfe-commits mailing list