2 ms·
The best way to get that info nowadays likely is through libclang, but other options are clang plugins, lib tooling, or Clang tools. See https://clang.llvm.org
by Someone 6y ago
The best way to get that info nowadays likely is through libclang, but other options are clang plugins, lib tooling, or Clang tools.
See https://clang.llvm.org/docs/Tooling.html https://clang.llvm.org/docs/Tooling.html for considerations on what approach to pick.
- touisteur 6y agoYes, libadalang, inspired by libclang, is 'it' for me. And I can write queries directly instead of parsing some intermediary shit and wishing I was after generic instantiation... I worked around gnat2xml but it's faaaaar better like this.