aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorLuna Kirkby <llvm@moonbase.lgbt>2021-07-28 10:17:54 +0200
committerMarek Kurdej <marek.kurdej+llvm.org@gmail.com>2021-07-28 10:29:15 +0200
commit71616722d4092f88861e9eb337e2902bbab2cbd4 (patch)
tree0fe928af66b89efb8a4169edf52c64e00eb9ea7a /llvm/lib/IR/Module.cpp
parent6cd0e35f43ac7aab8ff05acb4c5dfaa9071958d5 (diff)
downloadllvm-71616722d4092f88861e9eb337e2902bbab2cbd4.zip
llvm-71616722d4092f88861e9eb337e2902bbab2cbd4.tar.gz
llvm-71616722d4092f88861e9eb337e2902bbab2cbd4.tar.bz2
[clang-format] Correctly attach enum braces with ShortEnums disabled
Previously, with AllowShortEnumsOnASingleLine disabled, enums that would have otherwise fit on a single line would always put the opening brace on its own line. This patch ensures that these enums will only put the brace on its own line if the existing attachment rules indicate that it should. Reviewed By: HazardyKnusperkeks, curdeius Differential Revision: https://reviews.llvm.org/D99840
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions