libvirt/scripts
Michal Privoznik 5101450263 scripts: Properly declare g_auto() stub for cocci
While being great semantic patching tool, coccinelle fails to
understand some of macros we use (including those provided by
glib). What they have in common is use of __attribute__ under the
hood. We store a list of such macros in a file. But in there,
g_auto() macro is not defined properly. Indeed, g_auto(type)
declares a local variable of given type, for instance from
cocci's POV:

  g_auto(virBuffer) buf = VIR_BUFFER_INITIALIZER;
  virBuffer buf = VIR_BUFFER_INITIALIZER;

are both the same declaration. Fix declaration of g_auto() stub.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
2021-11-03 14:46:54 +01:00
..
apibuild.py scripts: include function versions in API definition 2021-09-23 16:30:18 +01:00
augeas-gentest.py
check-aclperms.py
check-aclrules.py
check-driverimpls.py
check-drivername.py
check-file-access.py
check-remote-protocol.py
check-symfile.py
check-symsorting.py
cocci-macro-file.h scripts: Properly declare g_auto() stub for cocci 2021-11-03 14:46:54 +01:00
dtrace2systemtap.py
esx_vi_generator.py
genaclperms.py
genpolkit.py
gensystemtap.py
group-qemu-caps.py scripts: group-qemu-caps: Add capability name as comment to capability string 2021-08-18 09:37:09 +02:00
header-ifdef.py
hvsupport.py
hyperv_wmi_generator.py
meson-dist.py
meson-gen-authors.py
meson-gen-def.py
meson-gen-sym.py
meson-install-dirs.py
meson-install-symlink.py
meson-install-web.py
meson-python.sh
meson-timestamp.py
meson.build
mock-noinline.py
prohibit-duplicate-header.py