[PATCH] D94473: [clangd] Use AST-based signals in CodeCompletion.

Adam Czachorowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 15 05:17:26 PST 2021


adamcz added inline comments.


================
Comment at: clang-tools-extra/clangd/Quality.cpp:349
+  };
+  DeriveASTSignals();
   // Declarations are scoped, others (like macros) are assumed global.
----------------
Maybe it's just me, but using a lambda like this seems quite confusing. I don't think it improves readability. Maybe just make it a separate method? Or inline here, but without lambda?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94473



More information about the cfe-commits mailing list