commit | 8e6708e2461e61fb667164c7dac9a6bd83e65d6c | [log] [tgz] |
---|---|---|
author | Yaron Keren <yaron.keren@gmail.com> | Sat Jan 02 13:40:36 2016 +0000 |
committer | Yaron Keren <yaron.keren@gmail.com> | Sat Jan 02 13:40:36 2016 +0000 |
tree | 9e80ffd778a8d1a3c0401629bf47d34d29514a07 | |
parent | 71d29c18dce9d4bd7c35a902eb51152331bebec0 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256688 91177308-0d34-0410-b5e6-96231b3b80d8