[PATCH] D151166: [clangd] Interactive AST matchers with #pragma clang query

Vlad Serebrennikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 03:21:59 PDT 2023


Endill added a comment.

This is an interesting feature!
There's a related `#pragma clang __debug dump`, that dumps name lookup result or a bit of AST for expression you pass to it (https://clang.llvm.org/docs/LanguageExtensions.html#debugging-the-compiler). I think clangd might be interested to support that pragma as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151166



More information about the cfe-commits mailing list