[PATCH] D75249: [clangd] Use tokenize instead of raw lexer in SourceCode/lex

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 07:45:50 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/SourceCode.cpp:728
+          case Default:
+            llvm_unreachable("Using and Default handled above.");
+          }
----------------
why not inline the above `if` here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75249





More information about the cfe-commits mailing list