[PATCH] D117475: [clangd] NFC, emit source ranges in selection debug messages.

2022-01-19 Thread Haojian Wu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG55b702c37b7e: [clangd] NFC, emit source ranges in selection debug messages. (authored by hokein). Changed prior to commit:

[PATCH] D117475: [clangd] NFC, emit source ranges in selection debug messages.

2022-01-19 Thread Sam McCall via Phabricator via cfe-commits
sammccall accepted this revision. sammccall added a comment. This revision is now accepted and ready to land. Thanks! Comment at: clang-tools-extra/clangd/Selection.cpp:551 printNodeKind(OS, N); OS << " "; return std::move(OS.str()); hmm, while here,

[PATCH] D117475: [clangd] NFC, emit source ranges in selection debug messages.

2022-01-19 Thread Haojian Wu via Phabricator via cfe-commits
hokein added inline comments. Comment at: clang-tools-extra/clangd/Selection.cpp:704 + dlog("{1}skip: {0}", printNodeToString(N, PrintPolicy, SM), indent()); dlog("{1}skipped range = {0}", S.printToString(SM), indent(1)); return true;

[PATCH] D117475: [clangd] NFC, emit source ranges in selection debug messages.

2022-01-19 Thread Haojian Wu via Phabricator via cfe-commits
hokein updated this revision to Diff 401219. hokein added a comment. address commment, only printing range on push. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D117475/new/ https://reviews.llvm.org/D117475 Files:

[PATCH] D117475: [clangd] NFC, emit source ranges in selection debug messages.

2022-01-18 Thread Sam McCall via Phabricator via cfe-commits
sammccall added inline comments. Comment at: clang-tools-extra/clangd/Selection.cpp:473 printNodeKind(OS, N); - OS << " "; + OS << " " << N.getSourceRange().printToString(SM) << " "; return std::move(OS.str()); I don't think this belongs in

[PATCH] D117475: [clangd] NFC, emit source ranges in selection debug messages.

2022-01-17 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: sammccall. Herald added subscribers: usaxena95, kadircet, arphaman. hokein requested review of this revision. Herald added subscribers: MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. It will make the output more versbose,