[PATCH] D93164: [AST] Add generator for source location introspection

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 14 10:32:48 PDT 2021


njames93 added a comment.

It may be wise to alter this so there is no need for the python script.
How about altering the dump tool to support outputting both json files and the cpp code needed for node introspection.
Maybe have arguments to the tool `--json-output-path` and `--introspection-output-path`.
If both are specified write both, if none specified error out.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93164/new/

https://reviews.llvm.org/D93164



More information about the cfe-commits mailing list