diff options
| author | David Spickett <david.spickett@linaro.org> | 2023-09-19 08:23:00 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 08:23:00 +0100 | 
| commit | ca723f2d40baf6c84e4c0907040e0c3f226d6302 (patch) | |
| tree | a832485cf69a6fd03c4cbc648a8f5cfcb0282885 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 6923a31542cd3392415af51b07bb4cb9fe42f39f (diff) | |
| download | llvm-ca723f2d40baf6c84e4c0907040e0c3f226d6302.zip llvm-ca723f2d40baf6c84e4c0907040e0c3f226d6302.tar.gz llvm-ca723f2d40baf6c84e4c0907040e0c3f226d6302.tar.bz2 | |
[lldb][Docs] Document our major differences from the LLVM style (#66345)
Running:
$ clang-format -i $(find -regex "\./lldb/.*\.c") $(find -regex
"\./lldb/.*\.cpp") $(find -regex "\./lldb/.*\.h")
Resulted in:
 1602 files changed, 25090 insertions(+), 25849 deletions(-)
(note: this includes tests which we wouldn't format, just using this as
an example)
The vast majority of which were whitespace changes. So as far as
formatting we're not deviating from llvm for any reason other than not
churning old code.
Formatting aside, the major features of lldb (single line if, early
return) are all reflected in llvm's style. We differ mainly on variable
naming (proposed to change in
https://llvm.org/docs/Proposals/VariableNames.html anyway) and use of
asserts. Which was already documented.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
