• Brenden Blanco's avatar
    Clean some brittle parts of clang rewriter · 561dafc0
    Brenden Blanco authored
    * Rewrites of text inside of a macro (even if just the arguments) is not
      support by clang. Convert macro definitions to pure rewrites instead.
    * For packet field access, no longer require 'skb' named
      argument...instead, learn it from the function parameter list.
    * Add a complex test case...supposedly this should have failed issue
      #10, but the C version does not exhibit the same failure as the B
      version.
    Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
    561dafc0
CMakeLists.txt 333 Bytes