[cfe-dev] introducing cgrep, a cgrep-like tool for C-family language files

Chris Lattner via cfe-dev cfe-dev at lists.llvm.org
Sun Mar 15 15:46:01 PDT 2020


I’d take a look at other RFC’s on this list, e.g. a "clang rfc cfe-dev” google search.  There is no fixed format,

-Chris

> On Mar 15, 2020, at 2:13 PM, Farzad Sadeghi <thabogre at gmail.com> wrote:
> 
> Ok, will do. Thanks.
> Is there any specific format I should follow?
> Somewhere I can look that up or I should just make a request on cfe-dev?
> 
> On 3/15/20, Chris Lattner <clattner at nondot.org> wrote:
>> I’d recommend starting by creating an RFC for cfe-dev talking about what
>> that would look like.  The clang-tools-extra folks could then evaluate and
>> give you more advice.  Thanks!
>> 
>> -Chris
>> 
>>> On Mar 15, 2020, at 12:03 PM, Farzad Sadeghi <thabogre at gmail.com> wrote:
>>> 
>>> That would be very cool. Where should I start?
>>> 
>>> On 3/15/20, Chris Lattner <clattner at nondot.org> wrote:
>>>> This looks pretty cool Farzad!  Would you be interested in merging it
>>>> back
>>>> to clang-tools-extras?  It would get a bit more visibility and exposure
>>>> that
>>>> way,
>>>> 
>>>> -Chris
>>>> 
>>>>> On Mar 10, 2020, at 10:26 PM, Farzad Sadeghi via cfe-dev
>>>>> <cfe-dev at lists.llvm.org> wrote:
>>>>> 
>>>>> Hi,
>>>>> I would like to announce cgrep, a grep-like tool for C-family source
>>>>> files.
>>>>> It basically lets you regex-search through C-family source files for
>>>>> specific AST nodes. So for example you can search for member functions
>>>>> 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.
>>>>> Feature Requests/Suggestions are very welcome.
>>>>> Here's the link:
>>>>> https://github.com/bloodstalker/cgrep
>>>>> --
>>>>> Farzad Sadeghi
>>>>> project mutator-https://github.com/bloodstalker/mutator
>>>>> _______________________________________________
>>>>> cfe-dev mailing list
>>>>> cfe-dev at lists.llvm.org
>>>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Farzad Sadeghi
>>> project mutator-https://github.com/bloodstalker/mutator
>> 
>> 
> 
> 
> -- 
> Farzad Sadeghi
> project mutator-https://github.com/bloodstalker/mutator



More information about the cfe-dev mailing list