title: Adding nodes to Clang's AST
body: <p>I need to insert new nodes to AST. for instance, adding a namespace to a function:
  Turning this -</p>
  
  <pre><code>void foo();
  </code></pre>
  
  <p>into this -</p>
  
  <pre><code>namespace bar {
      void foo();
  }
  </code></pre>
  
  <p>I read <a href="https://stackoverflow.com/questions/30451485/how-to-clone-or-create-an-ast-stmt-node-of-clang">How to clone or create an AST Stmt node of clang?</a> but I prefer not using source-to-source compilation</p>
  
  <p>Tnx</p>