llvm-project/clang/lib
Nathan James cb559c8d5e
[Sema] Add some basic lambda capture fix-its
Adds fix-its when users forget to explicitly capture variables or this in lambdas

Addresses https://github.com/clangd/clangd/issues/697

Reviewed By: kbobyrev

Differential Revision: https://reviews.llvm.org/D96975
2021-03-11 13:46:25 +00:00
..
APINotes [clang][APINotes] Fix gcc Wunused-function warning (NFC) 2021-03-10 11:47:00 +08:00
ARCMigrate ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef 2020-12-09 14:16:05 -08:00
AST PR49465: Disallow constant evaluation of a call to operator delete(nullptr). 2021-03-09 15:06:06 -08:00
ASTMatchers Add code complete support for mapAnyOf 2021-02-07 16:03:05 +00:00
Analysis [-Wcompletion-handler] Extend list of detected conventions 2021-03-10 10:43:19 +03:00
Basic [NFC] Remove duplicate isNoBuiltinFunc method 2021-03-10 09:18:55 +01:00
CodeGen [OpaquePtrs] Remove some uses of type-less CreateLoad APIs (NFC) 2021-03-11 14:40:57 +01:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver [flang][driver] Add -fdebug-module-writer option 2021-03-11 08:04:37 -05:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format clang-format: use `pb` as a canonical raw string delimiter for google style 2021-03-09 09:07:14 +01:00
Frontend Revert D97743 "Define __GCC_HAVE_DWARF2_CFI_ASM if applicable" 2021-03-09 12:14:12 -08:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [Clang][RISCV] Add custom TableGen backend for riscv-vector intrinsics. 2021-03-10 18:43:43 -08:00
Index [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex Improve static_assert/_Static_assert diagnostics 2021-03-03 08:48:27 -05:00
Parse [clang][OpenMP] Use OpenMPIRBuilder for workshare loops. 2021-03-04 22:52:59 -06:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
Serialization [clang][modules] Use extensible RTTI for ModuleFileExtension 2021-03-05 11:11:05 +01:00
StaticAnalyzer [analyzer] Crash fix for alpha.cplusplus.IteratorRange 2021-03-10 12:42:24 +01:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Revert "[AST] Add generator for source location introspection" 2021-03-10 23:36:06 +00:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00