[PATCH] D79938: [clangd] Add a flag to preserve type for recovery expression.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 14 05:20:32 PDT 2020


hokein marked an inline comment as done.
hokein added inline comments.


================
Comment at: clang-tools-extra/clangd/CodeComplete.cpp:1072
   ParseInput.Contents = std::string(Input.Contents);
+  // FIXME: setup the recoveryAST and recoveryASTType in ParseInput properly.
 
----------------
unfortunately, we don't have the `ParseOptions` structure in code completion code path, maybe we can add two flags in `SemaCompleteInput`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79938





More information about the cfe-commits mailing list