<div dir="ltr">Hi all,<div><br></div><div>I am attempting to print out the json format using clang's -ast-dump option. I am additionally passing in the -fopenmp flag so that the command looks like the following:</div><div>         clang -Xclang -ast-dump=json -Xpreprocessor -fopenmp<br></div><div><br></div><div>If the -ast-dump option is run WITHOUT the json specification, all works well and all nodes are printed out (see ast_orig_temp.txt file). However, when the -ast-dump is run WITH the json specification, OMP Clauses nodes disappear (note that all other nodes I've checked <u>do</u> appear - see ast_json_temp.json file).</div><div><br></div><div>Any input or insight into why this is happening? The end goal here is to get the JSON representation of the Clang AST with OMP nodes, so if there is another way to accomplish this that would be useful as well.</div><div><br></div><div>Thanks for all the help - Joshua</div></div>