diff options
| author | Denis Fatkulin <fatkulin.denis@huawei.com> | 2022-07-27 22:19:08 +0300 |
|---|---|---|
| committer | Aleksandr Platonov <platonov.aleksandr@huawei.com> | 2022-07-27 22:20:09 +0300 |
| commit | 17fb879764dcaf1f5f6bc505c5c747067ba7c3cd (patch) | |
| tree | 235dabed75ef74ff247f0aaa5063803549e02b6a /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | 0fdf8db7271043f3edca2047da61b2a7e06bc55b (diff) | |
| download | llvm-17fb879764dcaf1f5f6bc505c5c747067ba7c3cd.zip llvm-17fb879764dcaf1f5f6bc505c5c747067ba7c3cd.tar.gz llvm-17fb879764dcaf1f5f6bc505c5c747067ba7c3cd.tar.bz2 | |
[clang-format] FIX: Misannotation 'auto' as trailing return type in lambdas
Lambdas with trailing return type 'auto' are annotated incorrectly. It causes a misformatting. The simpliest code to reproduce is:
```
auto list = {[]() -> auto { return 0; }};
```
Fixes https://github.com/llvm/llvm-project/issues/54798
Reviewed By: HazardyKnusperkeks, owenpan, curdeius
Differential Revision: https://reviews.llvm.org/D130299
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
