[PATCH] D57057: [clangd] Log clang-tidy configuration, NFC

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 25 02:14:37 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL352184: [clangd] Log clang-tidy configuration, NFC (authored by hokein, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

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

https://reviews.llvm.org/D57057

Files:
  clang-tools-extra/trunk/clangd/ClangdUnit.cpp


Index: clang-tools-extra/trunk/clangd/ClangdUnit.cpp
===================================================================
--- clang-tools-extra/trunk/clangd/ClangdUnit.cpp
+++ clang-tools-extra/trunk/clangd/ClangdUnit.cpp
@@ -265,6 +265,8 @@
   llvm::Optional<tidy::ClangTidyContext> CTContext;
   {
     trace::Span Tracer("ClangTidyInit");
+    vlog("ClangTidy configuration for file {0}: {1}", MainInput.getFile(),
+         tidy::configurationAsText(ClangTidyOpts));
     tidy::ClangTidyCheckFactories CTFactories;
     for (const auto &E : tidy::ClangTidyModuleRegistry::entries())
       E.instantiate()->addCheckFactories(CTFactories);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57057.183498.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190125/d3062fd1/attachment.bin>


More information about the cfe-commits mailing list