summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/WinEHPrepare.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2016-01-02 13:40:36 +0000
committerYaron Keren <yaron.keren@gmail.com>2016-01-02 13:40:36 +0000
commitc47c6ac0a51b62f75cdfcd6ea0d2cb4585408fa3 (patch)
treead5ad0d29da098716aaf2450b5542be55c25102e /llvm/lib/CodeGen/WinEHPrepare.cpp
parentdbdc9c274d05e87ed342ea1d1076c569b3de7f62 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud