[PATCH] D98407: [clang-query] Add syntax highlight for clang-query scripts.

Ella Ma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 11 04:06:02 PST 2021


OikawaKirie added a comment.

In D98407#2619177 <https://reviews.llvm.org/D98407#2619177>, @njames93 wrote:

> Matchers change over time, so it may be wise to create a script to parse `clang/lib/ASTMatchers/Dynamic/Registry.cpp` and extract the matcher definitions from there. Save manually updating of this.

I also have considered adding a script to automatically generate this file. But where to store the output?
I am just thinking about adding `llvm/utils/vim/syntax/clang-query.vim` to gitignore, and adding a script to generate the file every time when llvm is built. Could that be a good solution? What do you think?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98407



More information about the llvm-commits mailing list