llvm/lldb/bindings/lua
Pavel Labath 9d5e37ed8c [lldb] (Semi-automatically) format .swig files
I've found my recent ventures into the swig land painful because
of the strange way they are formatted. This patch attempts to alleviate
future headaches by formatting these files into something resembling the
normal llvm style.

Unfortunately, completely formatting these files automatically does not
work because clang format gets confused by swigs % syntax, so I have
employed a hybrid approach where I formatted blocks of c++ code with
clang-format and then manually massaged the code until it looked
reasonable (and compiled).

I don't expect these files to remain perfectly formatted (although, if
one's editor is configured to configure the current line/block on
request, one can get pretty good results by using it judiciously), but
at least it will prevent the (mangled form of the) old lldb style being
proliferated endlessly.

Differential Revision: https://reviews.llvm.org/D115736
2021-12-16 13:58:37 +01:00
..
CMakeLists.txt
lua-swigsafecast.swig [lldb] (Semi-automatically) format .swig files 2021-12-16 13:58:37 +01:00
lua-typemaps.swig [lldb] (Semi-automatically) format .swig files 2021-12-16 13:58:37 +01:00
lua-wrapper.swig [lldb] (Semi-automatically) format .swig files 2021-12-16 13:58:37 +01:00
lua.swig