Skip to content
Snippets Groups Projects
  • Eduardo Habkost's avatar
    94dfc0f3
    codeconverter: script for automating QOM code cleanups · 94dfc0f3
    Eduardo Habkost authored
    
    This started as a simple script that scanned for regular
    expressions, but became more and more complex when exceptions to
    the rules were found.
    
    I don't know if this should be maintained in the QEMU source tree
    long term (maybe it can be reused for other code transformations
    that Coccinelle can't handle).  In either case, this is included
    as part of the patch series to document how exactly the automated
    code transformations in the next patches were done.
    
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
    Message-Id: <20200831210740.126168-7-ehabkost@redhat.com>
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
    94dfc0f3
    History
    codeconverter: script for automating QOM code cleanups
    Eduardo Habkost authored
    
    This started as a simple script that scanned for regular
    expressions, but became more and more complex when exceptions to
    the rules were found.
    
    I don't know if this should be maintained in the QEMU source tree
    long term (maybe it can be reused for other code transformations
    that Coccinelle can't handle).  In either case, this is included
    as part of the patch series to document how exactly the automated
    code transformations in the next patches were done.
    
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
    Message-Id: <20200831210740.126168-7-ehabkost@redhat.com>
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>