diff options
author | mydeveloperday <mydeveloperday@gmail.com> | 2020-09-17 13:22:26 +0100 |
---|---|---|
committer | mydeveloperday <mydeveloperday@gmail.com> | 2020-09-17 13:23:06 +0100 |
commit | 40e771c1c0d33c687230111271060c2ba761269f (patch) | |
tree | ccab8e15cec22e388b97a83cae68459ff42aaa61 /llvm/lib/Analysis/ConstraintSystem.cpp | |
parent | abe0d8551da52ea1d0d8ad5f9ad71d22a7cd9928 (diff) | |
download | llvm-40e771c1c0d33c687230111271060c2ba761269f.zip llvm-40e771c1c0d33c687230111271060c2ba761269f.tar.gz llvm-40e771c1c0d33c687230111271060c2ba761269f.tar.bz2 |
[clang-format][regression][PR47461] ifdef causes catch to be seen as a function
https://bugs.llvm.org/show_bug.cgi?id=47461
The following change {D80940} caused a regression in code which ifdef's around the try and catch block cause incorrect brace placement around the catch
```
try
{
}
catch (...) {
// This is not a small function
bar = 1;
}
}
```
The brace after the catch will be placed on a newline
Reviewed By: curdeius
Differential Revision: https://reviews.llvm.org/D87291
Diffstat (limited to 'llvm/lib/Analysis/ConstraintSystem.cpp')
0 files changed, 0 insertions, 0 deletions