bloomberg / clangmetatool

A framework for reusing code in Clang tools
https://bloomberg.github.io/clangmetatool/
Apache License 2.0
119 stars 25 forks source link

Allow passing additional parameters to wrapped tool #14

Closed envp closed 6 years ago

envp commented 6 years ago

PR summary:

Allow additional parameters to be passed to tools wrapped by MetaTool
* Maintain backawards compatibility (tests 001-011)

    * Add test for new behaviour (test 014)

    * Wrapped tools can now define an optional typedef by the name of `ArgTypes`
    to signal MetaTool to expect additional args wrapped in such a
    structure