[cfe-dev] [RFC] cgrep, a grep-like tool for C-family languages

Farzad Sadeghi via cfe-dev cfe-dev at lists.llvm.org
Mon Mar 16 03:58:44 PDT 2020


Hi,
I would like to explore the possibility of cgrep getting added into
clang-tools-extra.
cgrep is a grep-like tool for C-family source files.
cgrep lets you regex-search through C-family source files for
specific AST nodes. So for example you can search for member function
declarations
that have "[Rr]un" in their name.
Currently Linux and Cygwin builds are supported.
Supported LLVM/Clang versions are 5,6,7,8,9 and 10.
Here's the link:
https://github.com/bloodstalker/cgrep

What do I need to do to be able to move this forward if there is any interest?
-- 
Farzad Sadeghi
project mutator-https://github.com/bloodstalker/mutator


More information about the cfe-dev mailing list