Hi @LorenDB,
Based on:
$> clang -x c++ -Xclang -ast-dump=json -fparse-all-comments [cpp|cc|h|hpp|hxx files]
# or (minimal)
$> clang -x c++ -Xclang -ast-dump=json -fsyntax-only [cpp|cc|h|hpp|hxx files]
Also used on c2z(C++ to Zig bindings [generator]), replacing clang to zig cc and add -lc++ (llvm-libc++) flag.
The purpose is to make your application more portable with no LLVM dependencies.
another reference
Hi @LorenDB,
Based on:
Also used on c2z(C++ to Zig bindings [generator]), replacing
clangtozig ccand add-lc++(llvm-libc++) flag.The purpose is to make your application more portable with no LLVM dependencies.
another reference