Support string literals in build_string.cocci
* admin/coccinelle/build_string.cocci: Support string literals.
This commit is contained in:
parent
6fdf035f62
commit
c21995ff00
1 changed files with 6 additions and 0 deletions
|
@ -4,3 +4,9 @@ identifier I;
|
|||
@@
|
||||
- make_string (I, strlen (I))
|
||||
+ build_string (I)
|
||||
|
||||
@@
|
||||
constant C;
|
||||
@@
|
||||
- make_string (C, strlen (C))
|
||||
+ build_string (C)
|
||||
|
|
Loading…
Add table
Reference in a new issue