diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2016-01-02 13:40:36 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2016-01-02 13:40:36 +0000 |
commit | c47c6ac0a51b62f75cdfcd6ea0d2cb4585408fa3 (patch) | |
tree | ad5ad0d29da098716aaf2450b5542be55c25102e /llvm/lib/CodeGen/WinEHPrepare.cpp | |
parent | dbdc9c274d05e87ed342ea1d1076c569b3de7f62 (diff) | |
download | bcm5719-llvm-c47c6ac0a51b62f75cdfcd6ea0d2cb4585408fa3.tar.gz bcm5719-llvm-c47c6ac0a51b62f75cdfcd6ea0d2cb4585408fa3.zip |
Correct misleading formatting of several ifs followed by two statements without braces.
While the original code would work with or without braces, it makes sense to
set HaveSemi to true only if (!HaveSemi), otherwise it's already true, so I
put the assignment inside the if block. This addresses PR25998.
llvm-svn: 256688
Diffstat (limited to 'llvm/lib/CodeGen/WinEHPrepare.cpp')
0 files changed, 0 insertions, 0 deletions