aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMarek Kurdej <marek.kurdej+llvm.org@gmail.com>2021-12-21 16:44:44 +0100
committerMarek Kurdej <marek.kurdej+llvm.org@gmail.com>2021-12-21 16:54:19 +0100
commit07fe45130546001632e1a6005922c58154e72fe9 (patch)
tree6058aa0577c4c5fa0b7ee86ea6b9fe547d12942a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentd95baa98f34f01bea4fdab92c545bd3b24b697ee (diff)
downloadllvm-07fe45130546001632e1a6005922c58154e72fe9.zip
llvm-07fe45130546001632e1a6005922c58154e72fe9.tar.gz
llvm-07fe45130546001632e1a6005922c58154e72fe9.tar.bz2
[clang-format] Fix SplitEmptyRecord affecting SplitEmptyFunction.
Fixes https://github.com/llvm/llvm-project/issues/50051. Given the style: ``` BraceWrapping AfterFunction: true SplitEmptyFunction: true SplitEmptyRecord: false ... ``` The code that should be like: ``` void f(int aaaaaaaaaaaaaaaaaaaaaaaaaaaa, int bbbbbbbbbbbbbbbbbbbbbbbb) { } ``` gets the braces merged together: ``` void f(int aaaaaaaaaaaaaaaaaaaaaaaaaaaa, int bbbbbbbbbbbbbbbbbbbbbbbb) {} ``` Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D116049
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions