[PATCH] D48881: [clangd] Avoid collecting symbols from broken TUs in global-symbol-builder.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 4 02:30:47 PDT 2018

ioeric added inline comments.

Comment at: clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp:88
+            (CI.getDiagnosticClient().getNumErrors() > 0)) {
+          llvm::errs() << "Found errors in the translation unit. Igoring "
+                          "collected symbols...\n";
ilya-biryukov wrote:
> NIT: Maybe use clangd's `log` here? To get timestamps in the output, etc.
The default logger doesn't seem to add timestamp? I'll keep `llvm::errs()` here for consistency in this file.

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list