[lld] [DRAFT][clang-format][lld] Run clang-format on lld (PR #80461)
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 11:15:14 PST 2024
================
@@ -1045,13 +1108,9 @@ uint32_t MergeChunk::getOutputCharacteristics() const {
return IMAGE_SCN_MEM_READ | IMAGE_SCN_CNT_INITIALIZED_DATA;
}
-size_t MergeChunk::getSize() const {
- return builder.getSize();
-}
+size_t MergeChunk::getSize() const { return builder.getSize(); }
----------------
MatzeB wrote:
There appears to be a `AllowShortFunctionsOnASingleLine` setting for clang-format that we can try setting: https://clang.llvm.org/docs/ClangFormatStyleOptions.html#allowshortfunctionsonasingleline
https://github.com/llvm/llvm-project/pull/80461
More information about the llvm-commits
mailing list