summaryrefslogtreecommitdiffstats
path: root/tools/coccinelle/__func__.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'tools/coccinelle/__func__.cocci')
-rw-r--r--tools/coccinelle/__func__.cocci10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/coccinelle/__func__.cocci b/tools/coccinelle/__func__.cocci
new file mode 100644
index 0000000..fb68494
--- /dev/null
+++ b/tools/coccinelle/__func__.cocci
@@ -0,0 +1,10 @@
+@@
+@@
+
+(
+- __PRETTY_FUNCTION__
++ __func__
+|
+- __FUNCTION__
++ __func__
+)