llvm-project/clang/unittests
Denis Fatkulin 17fb879764 [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
2022-07-27 22:20:09 +03:00
..
AST [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
ASTMatchers [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Analysis [clang][dataflow] Analyze calls to in-TU functions 2022-07-26 17:54:27 +00:00
Basic Use value instead of getValue (NFC) 2022-07-19 21:18:26 -07:00
CodeGen [CGDebugInfo] Access the current working directory from the `VFS` 2022-07-26 13:48:39 -07:00
CrossTU [analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file 2022-03-22 10:28:42 +08:00
DirectoryWatcher [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
Driver [test] Fix memory leak in validateTargetProfile 2022-07-16 16:47:50 -07:00
Format [clang-format] FIX: Misannotation 'auto' as trailing return type in lambdas 2022-07-27 22:20:09 +03:00
Frontend [CGDebugInfo] Access the current working directory from the `VFS` 2022-07-26 13:48:39 -07:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
Interpreter clang: include ManagedStatic.h for llvm_shutdown 2022-07-27 14:57:34 +02:00
Introspection [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Lex [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite
Sema [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Serialization [Serialization] Add missing includes for CHAR_BIT 2022-05-19 10:04:25 +02:00
StaticAnalyzer [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Tooling [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
libclang [libclang] Add CXRewriter to libclang API 2020-09-04 14:17:03 -07:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00