labath added a comment.

I'm not sure how we ended up with the .i files in the first place, but maybe a 
good solution to this problem would be to ditch those and generate bindings 
from .h files directly.

It may mean that we need to put `#ifndef SWIG` around some code, but I'd say 
that beats maintaining two separate copies of the interface. (Also, the ifdefs 
are a pretty good way to document the bits of the "public" API that we do not 
wish to make available to scripts.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120100

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to