diff options
| author | Mingming Liu <mingmingl@google.com> | 2024-02-21 10:55:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 10:55:59 -0800 |
| commit | 4247175d4536964322b129d1d3bbe6128da653bf (patch) | |
| tree | 80e7db77fcf19d315a087edc6125c8d70fb59ebb /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 966b026785a09ec079e8b0ba79358892fcb958ad (diff) | |
[nfc]For InstrProfData.inc, clang-format functions and opt-out of formatting on the rest (#82057)
Without this, each time `InstrProfData.inc` is modified (like in
https://github.com/llvm/llvm-project/pull/81691), pre-commit CI
clang-format aggressively formats many lines in an unreadable way. Pull
request with red pre-commit checks are usually frowned upon.
* Use `// clang-format:<reason>` instead of `/* clang-format */`. The
former
[allows](https://github.com/llvm/llvm-project/blob/563ef306017a47d387f1c36dd562b172c1ad0626/clang/lib/Format/Format.cpp#L4108-L4113)
specifying a reason but the latter is
[not](https://github.com/llvm/llvm-project/blob/563ef306017a47d387f1c36dd562b172c1ad0626/clang/lib/Format/Format.cpp#L4105-L4106).
- Filed https://github.com/llvm/llvm-project/issues/82426 to track the
issue in clang-format.
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
