[PATCH] D43569: [clangd] Correct setting ignoreWarnings in CodeCompletion.
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 22 05:07:04 PST 2018
ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.
LGTM with a minor nit.
================
Comment at: clangd/CodeComplete.cpp:705
}
+ CI->getDiagnosticOpts().IgnoreWarnings = true;
auto Clang = prepareCompilerInstance(
----------------
Could we add a comment that this should be done before calling `prepareCompilerInstance`?
I'm afraid this can be accidentally reordered when changing the code.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D43569
More information about the cfe-commits
mailing list