ptr_arg: honor allow
attribute on arguments
#5647
+41
−3
Merged