~npalix/coccinelle/upstream

Viewing all changes in revision 4949.

  • Committer: Julia Lawall
  • Date: 2020-09-07 09:15:32 UTC
  • Revision ID: git-v1:dc695e2cbea93039ba1385e0ca683fd85f973aeb
omit little drop functions

In the sgrep case the drop functions are not efficient because they
rebuild the affected top-level code fragment multiple times.  Some of
the functions are used in one other place.  Since we already have
functions for checking for various syntax types and since the function
name exclude is quite understandable, just inline the drop functions and
remove them.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: