[PATCH] D77142: [clangd] Add a flag to turn on recovery-expr.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 31 09:58:01 PDT 2020


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


================
Comment at: clang-tools-extra/clangd/Preamble.cpp:135
 
+  CI.getLangOpts()->RecoveryAST = Inputs.Opts.BuildRecoveryAST;
+
----------------
There's no prospect of this working for C at the moment. We should make this conditional on C++ (and mention C++ in the desc)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77142





More information about the cfe-commits mailing list