facebookarchive / facebook-clang-plugins

Plugins to clang-analyzer and clang-frontend
MIT License
482 stars 85 forks source link

"clang_ast.atd" does not work with adtj for Java generation #14

Closed elijah-z142 closed 5 years ago

elijah-z142 commented 5 years ago

This is does not seem to be an issue with "facebook-clang-plugins" itself, but "clang_ast.atd" does not work with adtj for Java generation.

I've opened a ticket with ATD (https://github.com/mjambon/atd/issues/179). I am using atdj 2.0.0.

Is there a workaround for Java generation such as using an older version of clang_ast.atd? Does Facebook only use atd with ocaml?

Command used: atdj clang_ast.atd

clang_ast.atd.txt

jvillard commented 5 years ago

We only use the OCaml backend of atdgen at the moment, so I don't think there was ever a time when the atd produced by the plugin would have been intentionally compatible with atdj.

jvillard commented 5 years ago

Closing this issue as the issue opened on the atd repo is more actionable.